Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.39 KB

File metadata and controls

53 lines (39 loc) · 1.39 KB

Detection Simple Application

Detection Simple Example

Run the detection simple example:

hailo-detect-simple

To close the application, press Ctrl+C.

This is lightweight version of the detection example, mainly focusing on demonstrating Hailo performance while minimizing CPU load. The internal GStreamer video processing pipeline is simplified by minimizing video processing tasks, and the YOLOv6 Nano model is used.

The application will detect and classify various objects.

For more details, please see the full detection application: Full detection application

Running with Raspberry Pi Camera input:

hailo-detect-simple --input rpi

Running with USB camera input (webcam):

There are 2 ways:

Specify the argument --input to usb:

hailo-detect-simple --input usb

This will automatically detect the available USB camera (if multiple are connected, it will use the first detected).

Second way:

Detect the available camera using this script:

get-usb-camera

Run example using USB camera input - Use the device found by the previous script:

hailo-detect-simple --input /dev/video<X>

For additional options, execute:

hailo-detect-simple --help

Running as Python script

For examples:

python detection_simple.py --input usb