detector module

class detector.Detector(configuration, meta, weights)[source]

Bases: object

detect_markers(frame)[source]

Detect ArUco markers in a frame.

detect_objects(frame, threshold=0.5)[source]

Process a frame through the neural network and return detected objects.

initialize()[source]

Initialize the detector.

preprocess_frame(frame)[source]

Preprocess a frame before detection.