In the hailo examples it identifies a particular object eg person...
How do we do similar in picamera2 example detect.py ?
I managed to detect a clock by checking results[0][74] != [ ] but is there another way ?
Code:
for detection in detections: label = detection.get_label() bbox = detection.get_bbox() confidence = detection.get_confidence() if label == "person":
How do we do similar in picamera2 example detect.py ?
Code:
# Extract detections from the inference results detections = extract_detections(results[0], video_w, video_h, class_names, args.score_thresh)
Statistics: Posted by gordon77 — Sat Sep 07, 2024 6:07 pm