Open progerjkd opened 3 years ago
Hi Roger,
to summarise in short how it works: the library parses the GetLabelDetection response looking for a label called Person
. If present, bounding boxes are extracted from Instances -> BoundingBox
and displayed.
It might be possible that the json doesn't contain Person
or is malformed.
Hi there,
interesting project. I'm able to use detect_video.py to generate the JSON file containing the labels of detected objects and scenes. But when using play.py I don't see any bounding box being drawn on the output video.
$ python3 detect_video.py -v NEW2_small.mp4 -b rekognition-data $ python3 play.py -v NEW2_small.mp4 -d labels/NEW2_small.mp4.json -f 10
Any advice?
thanks in advance. Roger