GajuuzZ / Human-Falling-Detect-Tracks

AlphaPose + ST-GCN + SORT.
740 stars 254 forks source link

How to draw the detecting bounding box? #59

Open WangJi1022 opened 3 years ago

WangJi1022 commented 3 years ago

VISUALIZE.

            if args.show_detected:
                for bb in detected[:, 0:5]:
                    frame = cv2.rectangle(frame, (bb[0], bb[1]), (bb[2], bb[3]), (0, 0, 255), 1)

The code cannot draw the bbox.And the outputs of the YOLOV3-spp is tensor.

Duc-duck commented 2 years ago

open Prompt, type: cd '' python main.py -C ' <your video directory or type '0' if you use your camera> ' --show_detected -- save_out ''