bitsy-ai / printnanny-os

Image repository, change logs, and issue tracking for PrintNanny OS
GNU Affero General Public License v3.0
23 stars 2 forks source link

PrintNanny Vision calibration: area of interest #140

Open leigh-johnson opened 1 year ago

leigh-johnson commented 1 year ago

Describe your Request Allow the user to select an "area of interest" and exclude detections with intersection-over-union greater than T, a threshold defaulting to 0.66 (at least 2/3s of IoU should be within area-of-interest).

PrintNanny Dash

1) Begin calibration, show video feed. 2) Click/drag a selectable area over video feed 3) Save absolute x1,y1 x2,y2 coordinates AND current width/height as PrintNannyGstConfig parameters

PrintNanny Gstreamer Plugin

1) For each box proposal, calculate IoT and filter out detections with IoT < T, where T defaults to 0.66 2) Tee the filtered stream and pass on to compositing + box drawing threads

ignore_mask_example

leigh-johnson commented 1 year ago
Screen Shot 2022-11-09 at 8 25 50 AM