from element_detector import detect_elements, capture_and_detect as element_capture_and_detect

# We're keeping these functions as wrappers to maintain compatibility
# with the rest of the code, but they now directly use element_detector functions

def detect_ui_elements(image_path):
    return detect_elements(image_path)

# This function is now just a pass-through to element_detector.capture_and_detect
def capture_and_detect():
    return element_capture_and_detect()