Giter VIP home page Giter VIP logo

Comments (27)

Qidian213 avatar Qidian213 commented on July 21, 2024

It seems that there has a overall offset between bounding boxes and person's position , when i use tiny_yolo i encountered this problem , it is because of different input image resolutions . But in yolov3_keras we dont need care about this . I had test different image resolutions , it all worked well . Did you change the code and could you send your video to me to have a test ?

from deep_sort_yolov3.

Qidian213 avatar Qidian213 commented on July 21, 2024

or you can download a video file from https://motchallenge.net/ for test . In README.md i upload a test result video use the MOT challenge test video . The bad track result you got were because of boxes not on people. You can check the boxes's position right or not just after yolo detect between line 58 and line 60 of file demo.py .

from deep_sort_yolov3.

Qidian213 avatar Qidian213 commented on July 21, 2024

The last , you can del line108 to line113 of file yolo.py . I add it because i found some negative coordinates , but the people's position of your image seems that it was not caused by it .

from deep_sort_yolov3.

Ntweat avatar Ntweat commented on July 21, 2024

Can you give your email id?

from deep_sort_yolov3.

Qidian213 avatar Qidian213 commented on July 21, 2024

[email protected]

from deep_sort_yolov3.

Ntweat avatar Ntweat commented on July 21, 2024

sent

from deep_sort_yolov3.

Qidian213 avatar Qidian213 commented on July 21, 2024

Access denied , I need permission to download

from deep_sort_yolov3.

Ntweat avatar Ntweat commented on July 21, 2024

Try again. I updated the permissions

from deep_sort_yolov3.

Qidian213 avatar Qidian213 commented on July 21, 2024

Did you noticed the message "[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fe21f9ed080] Timecode frame rate 59/1 not supported" when use your video file ? if you had google it you should found the problem , if you had test other video file you would got a better result . Every time when i use your video file it can only run 52 frames , but after i convert video coding of your video by Handbrake it can run well . And there no overall offset of boxes . So i thought the bad result was caused by your video's Timecode .

from deep_sort_yolov3.

Ntweat avatar Ntweat commented on July 21, 2024

I sent you the original video

I used the ffmpeg transcoded video

Will send that video too

from deep_sort_yolov3.

Qidian213 avatar Qidian213 commented on July 21, 2024

Can it be a shorter video file , it was to big to download . And it is to late i may reply tomorrow .

from deep_sort_yolov3.

Ntweat avatar Ntweat commented on July 21, 2024

Sorry for taking longer to respond. I was traveling.

I have sent you a new one.

I encoded it using ffmpeg. Can you check that video.

from deep_sort_yolov3.

Qidian213 avatar Qidian213 commented on July 21, 2024

from deep_sort_yolov3.

Ntweat avatar Ntweat commented on July 21, 2024

Did you change the code? Cause I am using demo on the video and the boxes are not lining up.

from deep_sort_yolov3.

Qidian213 avatar Qidian213 commented on July 21, 2024

no

from deep_sort_yolov3.

Ntweat avatar Ntweat commented on July 21, 2024

ok
will try it again. When I ran it the boxes are not lining up

from deep_sort_yolov3.

Ntweat avatar Ntweat commented on July 21, 2024

Did you re-encode this video also?

from deep_sort_yolov3.

Qidian213 avatar Qidian213 commented on July 21, 2024

no

from deep_sort_yolov3.

Ntweat avatar Ntweat commented on July 21, 2024

I ran it again.. Still it is not aligned.

Yolov3 on keras works perfectly fine.

from deep_sort_yolov3.

Ntweat avatar Ntweat commented on July 21, 2024

Am getting this

OpenCV(3.4.1) Error: Assertion failed (pos < (1u<<31)) in patchInt, file /home/saurabhh/opencv/modules/videoio/src/container_avi.cpp, line 737
Traceback (most recent call last):
File "demo.py", line 112, in
main(YOLO())
File "demo.py", line 90, in main
out.write(frame)
cv2.error: OpenCV(3.4.1) /home/saurabhh/opencv/modules/videoio/src/container_avi.cpp:737: error: (-215) pos < (1u<<31) in function patchInt

OpenCV(3.4.1) Error: Assertion failed (pos < (1u<<31)) in patchInt, file /home/saurabhh/opencv/modules/videoio/src/container_avi.cpp, line 737
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(3.4.1) /home/saurabhh/opencv/modules/videoio/src/container_avi.cpp:737: error: (-215) pos < (1u<<31) in function patchInt

[1] 17692 abort (core dumped) python demo.py GOPR4091_new.MP4

And still not aligned.

from deep_sort_yolov3.

Ntweat avatar Ntweat commented on July 21, 2024

Finally the boxes are aligned. But the core is still dumped.
Is there a way for it no to lose the person if detection stops for a few frames??

from deep_sort_yolov3.

Qidian213 avatar Qidian213 commented on July 21, 2024

From the paper “For each track k we count the number of frames since the last successful measurement association ak. This counter is incremented during Kalman filter prediction and reset to 0 when the track has been associated with a measurement. Tracks that exceed a predefined maximum age Amax are considered to have left the scene and are deleted from the track set. New track hypotheses are initiated for each detection that cannot be associated to an existing track. These new tracks are classified as tentative during their first three frames. During this time, we expect a successful measurement association at each time step. Tracks that are not successfully associated to a measurement within their first three frames are deleted” ,in code the Amax is 30 at line 40 of tracker.py .

from deep_sort_yolov3.

Ntweat avatar Ntweat commented on July 21, 2024

Any idea why I am getting the error?

from deep_sort_yolov3.

Qidian213 avatar Qidian213 commented on July 21, 2024

set writeVideo_flag = False line37 of file demo.py , can it works well ?

from deep_sort_yolov3.

Ntweat avatar Ntweat commented on July 21, 2024

I need the output in video file. I am doing it on a remote server

from deep_sort_yolov3.

Qidian213 avatar Qidian213 commented on July 21, 2024

I use opencv3.2.0 , you can have a try .

from deep_sort_yolov3.

Ntweat avatar Ntweat commented on July 21, 2024

I figured it out. You are using MJPG and saving it as AVI. AVI it uses XVID and MJPG is for MP4

from deep_sort_yolov3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.