chadwallacehart / aiy_custom_cat_detector

Custom object detection model on the AIY Vision Kit
13 stars 4 forks source link

No bounding box for PERSON #3

Open saket424 opened 6 years ago

saket424 commented 6 years ago

I tried to run your project as is and since I have no cat, i stuck my face in front of the camera and while the detector says it found a person in the logs, i do not see any bounding box being drawn. do you only draw bounding boxes for cats and not persons? or is something else wrong? i notice when i use vnc, things behave different on the vnc console versus the hdmi monitor console

python3 cat_detection_camera.py Camera inference started 2018-07-18-02:51:42 Object #0: kind=PERSON(2), score=0.630912, bbox=(75, 46, 1250, 856) 2018-07-18-02:51:42 Object #0: kind=PERSON(2), score=0.648021, bbox=(73, 47, 1263, 855) 2018-07-18-02:51:43 Object #0: kind=PERSON(2), score=0.591841, bbox=(74, 54, 1262, 847) 2018-07-18-02:51:43 Object #0: kind=PERSON(2), score=0.575827, bbox=(84, 51, 1249, 850) 2018-07-18-02:51:44 Object #0: kind=PERSON(2), score=0.594669, bbox=(85, 51, 1266, 850) 2018-07-18-02:51:44 Object #0: kind=PERSON(2), score=0.577138, bbox=(86, 44, 1216, 855) 2018-07-18-02:51:47 Object #0: kind=PERSON(2), score=0.677687, bbox=(107, 63, 1387, 832) 2018-07-18-02:51:47 Object #0: kind=PERSON(2), score=0.630344, bbox=(88, 78, 1426, 821) 2018-07-18-02:51:47 Object #0: kind=PERSON(2), score=0.725065, bbox=(64, 61, 1412, 842) 2018-07-18-02:52:38 Object #0: kind=PERSON(2), score=0.975060, bbox=(66, 177, 1073, 743) 2018-07-18-02:52:38 Object #0: kind=PERSON(2), score=0.658966, bbox=(24, 155, 1229, 755) 2018-07-18-02:52:39 Object #0: kind=PERSON(2), score=0.498047, bbox=(0, 15, 982, 887) 2018-07-18-02:52:39 Object #0: kind=PERSON(2), score=0.378115, bbox=(0, 110, 1110, 800) 2018-07-18-02:52:39 Object #0: kind=PERSON(2), score=0.711130, bbox=(0, 128, 1167, 783) 2018-07-18-02:52:41 Object #0: kind=PERSON(2), score=0.591723, bbox=(81, 192, 1204, 726) 2018-07-18-02:52:41 Object #0: kind=PERSON(2), score=0.730194, bbox=(80, 187, 1161, 732) 2018-07-18-02:52:43 Object #0: kind=PERSON(2), score=0.467514, bbox=(134, 224, 1162, 697) 2018-07-18-02:52:43 Object #0: kind=PERSON(2), score=0.669421, bbox=(99, 205, 1177, 716)

saket424 commented 6 years ago

@chadwallacehart , Are you using https://github.com/google/aiyprojects-raspbian/releases/download/v20180413/aiyprojects-2018-04-13.img.xz or one of the earlier images https://github.com/google/aiyprojects-raspbian/releases as your base for your aiy visionkit ?