Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4151

AI Accelerator • Re: Pi Hailo AI hat availability and Picamera2 integration...

$
0
0
Perhaps something like the following may work (entirely untested):

Code:

# Extract detections from the inference resultsdetections = extract_detections(results[0], video_w, video_h, class_names, args.score_thresh)clocks_found = [c for c in detections if c[0] == 'clock']
clocks_found will be a list of clock objects found in the detections list.

Statistics: Posted by naushir — Mon Sep 09, 2024 7:42 am



Viewing all articles
Browse latest Browse all 4151

Trending Articles