Comments (27)
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.
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.
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.
Can you give your email id?
from deep_sort_yolov3.
from deep_sort_yolov3.
sent
from deep_sort_yolov3.
Access denied , I need permission to download
from deep_sort_yolov3.
Try again. I updated the permissions
from deep_sort_yolov3.
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.
I sent you the original video
I used the ffmpeg transcoded video
Will send that video too
from deep_sort_yolov3.
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.
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.
from deep_sort_yolov3.
Did you change the code? Cause I am using demo on the video and the boxes are not lining up.
from deep_sort_yolov3.
no
from deep_sort_yolov3.
ok
will try it again. When I ran it the boxes are not lining up
from deep_sort_yolov3.
Did you re-encode this video also?
from deep_sort_yolov3.
no
from deep_sort_yolov3.
I ran it again.. Still it is not aligned.
Yolov3 on keras works perfectly fine.
from deep_sort_yolov3.
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.
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.
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.
Any idea why I am getting the error?
from deep_sort_yolov3.
set writeVideo_flag = False line37 of file demo.py , can it works well ?
from deep_sort_yolov3.
I need the output in video file. I am doing it on a remote server
from deep_sort_yolov3.
I use opencv3.2.0 , you can have a try .
from deep_sort_yolov3.
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)
- demo.py 异常 HOT 2
- yolo3模型是tensorflow生成的ckpt文件或者pb文件,如何转换到.h5文件用到这个项目中呢?
- encoder = gdet.create_box_encoder(model_filename, batch_size=1)中的batch_size有什么用?
- Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR HOT 1
- How to count each object separately?
- UnboundLocalError: local variable 'track' referenced before assignment HOT 3
- requirements.txt
- i want to set the gpu fraction,but it failed, gpu is always fully occupied
- process killed on running demo.py
- Error
- cpu占用率暴涨
- what is mars-small128.pb ? and what is it use for ?
- A typo in README.md
- confusing
- No ID of people on output .txt detections file
- 为什么我的darknet运行yolov4只有10帧左右
- 人出去之后,还有追踪框停留。max_age设置为0,依旧存在该问题
- 我在keras-yolov3训练了改动的yolov3,生成的h5用到deepsort,会多一个functional层,如何解决
- 我可以保存检测到的路径吗
- QQ群不见了吗 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deep_sort_yolov3.