Comments (13)
Hi @danb31. Thanks for using our code. I am not exactly sure where the issue is, as m_nFrmCnt
should be defined at Line 45. The getter is called at Line 463 by cmpFrmCnt()
, but all the objects should be initialized in vvoTrkNd
through Line 299 and Line 308. A possible reason is that the 2D tracking results in MOTChallenge format are not provided correctly (Line 290), so the objects are not initialized properly. Do you have some extra information to provide?
from 2018aicity_teamuw.
Hi @zhengthomastang thanks for your help.
When debugging I get the following outputs:
Exception thrown at 0x00007FFB66BBA388 in SPD_EST_IPL.exe: Microsoft C++ exception: cv::Exception at memory location 0x000000D6A7B7C7B8.
Exception thrown: read access violation.
**this** was nullptr.
My data is structured in the following file format:
-Track1
---SPD_EST_IPL
------SPD_EST_IPL
---------data
------------Loc1_1
---------------trk2d.txt
---------------camCal
------------------camParam.txt
---------------img1
------------------1.jpg
------------------2.jpg
------------------3.jpg…
My trk2d.txt is in the following format, which I believe matches what is required in line 290?
1,4,604,120,22,53,0.891,-1,-1,-1,car
1,3,0,184,332,166,0.644,-1,-1,-1,car
1,2,586,195,45,35,0.765,-1,-1,-1,car
1,1,462,196,59,33,0.347,-1,-1,-1,car
2,4,604,120,21,53,0.946,-1,-1,-1,car
2,2,584,195,47,35,0.278,-1,-1,-1,car
2,1,464,195,59,32,0.754,-1,-1,-1,car
3,4,603,121,22,51,0.759,-1,-1,-1,car
3,2,584,194,47,37,0.534,-1,-1,-1,car
3,1,467,195,56,31,0.860,-1,-1,-1,car
…
from 2018aicity_teamuw.
@danb31 Do you have the input of camera calibration? Please also change the file/directory paths at Lines 214, 220, 226, 232, 238 and 244 of Track1/SPD_EST_IPL/SPD_EST_IPL/src/main.cpp
.
from 2018aicity_teamuw.
@zhengthomastang My camera calibration:
camParam.txt
Lines have been changed to match paths.
When running the first frame begins processing but crashes after a few seconds.
from 2018aicity_teamuw.
@danb31 Please make sure that the length unit for the camera height (in translation matrix) is in mm. I am not sure where the crashes are caused from. Do you have some debug messages?
from 2018aicity_teamuw.
-Track1
---SPD_EST_IPL
------SPD_EST_IPL
---------data
------------Loc1_1
---------------trk2d.txt
---------------camCal
------------------camParam.txt
---------------img1
------------------1.jpg
------------------2.jpg
------------------3.jpg…
My trk2d.txt is in the following format, which I believe matches what is required in line 290?
1,4,604,120,22,53,0.891,-1,-1,-1,car
1,3,0,184,332,166,0.644,-1,-1,-1,car
1,2,586,195,45,35,0.765,-1,-1,-1,car
1,1,462,196,59,33,0.347,-1,-1,-1,car
2,4,604,120,21,53,0.946,-1,-1,-1,car
2,2,584,195,47,35,0.278,-1,-1,-1,car
2,1,464,195,59,32,0.754,-1,-1,-1,car
3,4,603,121,22,51,0.759,-1,-1,-1,car
3,2,584,194,47,37,0.534,-1,-1,-1,car
3,1,467,195,56,31,0.860,-1,-1,-1,car
how I got that result in track2d.txt?
from 2018aicity_teamuw.
@danb31 The format of input frames should be %06d.jpg
, e.g.,
000001.jpg
000002.jpg
...
from 2018aicity_teamuw.
@danb31 Also, the detection scores are in percentage (between 0.0 and 100.0). Or you can tune the threshold for detection scores.
from 2018aicity_teamuw.
Hi,@zhengthomastang
How does the speed scale get? I have not found the relevant code for the calculation in your code?
from 2018aicity_teamuw.
@LionelLeee The 2018 AI City Challenge data are not available anymore. The scale was fine-tuned on the training set.
from 2018aicity_teamuw.
@zhengthomastang
Thank you for your prompt reply. Then if you want to calculate the speed scale, you recommend the algorithm is more suitable.
from 2018aicity_teamuw.
@zhengthomastang ,Why multiply 2.23694f in SPD_EST_IPL
from 2018aicity_teamuw.
@LionelLeee The scale and offset parameters are fine-tuned for each video, according to the speed limit for different road conditions.
from 2018aicity_teamuw.
Related Issues (20)
- Can I use it to train for Multiple camera Multiple person tracking problem? HOT 14
- CUDA installation HOT 2
- sequence naming of images in TC_Tracker HOT 1
- Track1/6_SPD_EST issues HOT 9
- Code in C or C++ HOT 1
- FPS HOT 1
- How to run the yolo detection with the model provided? HOT 1
- Step 2- Camera calibration old method vs new method HOT 1
- Tracklet clustering HOT 2
- Unable to mark vanishing lines HOT 9
- Arguments 3_YOLO_VEH in file track1.sh
- Core dumped
- one difference between the provided code and the paper HOT 1
- Height of vehicles effect on real distance between 2 frames HOT 2
- Python implementation
- Can we use this on Windows? HOT 1
- Some questions about 2_CAM_CAL HOT 1
- Back projection matrix construction HOT 2
- Coordinate Systems Ambiguity HOT 6
- Inquiries Regarding the Integration of Semantic Features for Enhanced Vehicle Tracking 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 2018aicity_teamuw.