Closed antoniomtz closed 1 year ago
@whbruce What I need to do is to identify coordinates in different areas from a videos to configure a new line in the parameter file. I want to avoid a manual process of try/error. I'm wondering if there is a tool to get the normalized coordinates. For example, this tool https://stackoverflow.com/questions/55149171/how-to-get-roi-bounding-box-coordinates-with-mouse-clicks-instead-of-guess-che/55153612#55153612 allows me to get the coordinates but they are not normalized as you need them for the object_line_crossing.
In other words, for the https://github.com/intel-iot-devkit/sample-videos/raw/master/people-detection.mp4 , how did you guys calculate the exact coordinates to apply the different hallways at the right place?
We did it empirically, but you've found a smarter way of doing it. That's a nice tool! I tweaked it slightly and it seemed to do the job.
@darrindu let's find a way of updating the docs to help people do this.
@whbruce Thank! it seems to give me the right normalized coordinates! Yeah, I agree on adding this to the documentation. It is very helpful.
Answered by previous comments
Hello,
What would be the best way (tools) to get the normalized coordinates [0,1] in a video for the "line" value for object_line_crossing parameter?