22Raj

Results 2 comments of 22Raj

Just add ` --info >> results.txt` at the end of your tracking command. Example: `python object_tracker.py --video ./data/video/test.mp4 --output ./outputs/demo.avi --model yolov4 --info >> results.txt`

To crop the detected objects, one thing you can do is add this line in object_tracker.py: `cropped_frame = frame[int(bbox[1]):int(bbox[3]),int(bbox[0]):int(bbox[2])]` Somewhere after: ` for track in tracker.tracks: if not track.is_confirmed() or...