or-objectdetection icon indicating copy to clipboard operation
or-objectdetection copied to clipboard

How to change resolution of output video and the tracking Line

Open Tensorhunt opened this issue 5 years ago • 3 comments

How to change resolution of output video and the tracking Line?

Can you please add in which files do we update it?

Tensorhunt avatar Jul 07 '20 17:07 Tensorhunt

What type of video are you trying on? I am trying it on prerecorded videos and I am not getting any detections at all? The code seems alright to me.

mesakarghm avatar Jul 21 '20 06:07 mesakarghm

FYI: This was a proof of concept project carried out by a group of students and therefor support isn't possible (unless one of the students involved are able to help).

richturner avatar Jul 21 '20 07:07 richturner

@Tensorhunt

Changing the resolution is difficult since the line is hardcoded and the yolo model output is transformed to a certain resolution. You can change this but then you have to find something online. I recommend you leave the opencv windows the same resolution as they are now. And just resize you video image at the beginning to be the video resolution we used. I think at the end we used a 4k camera. But if that resolution does not work try 1080p.

sieuwe1 avatar Jul 21 '20 08:07 sieuwe1