Giter VIP home page Giter VIP logo

Comments (9)

zhengthomastang avatar zhengthomastang commented on June 25, 2024

The lines will only be plotted when you click within the UI. Please try to use another monitor if your current one cannot display the full interface.

from 2018aicity_teamuw.

Ashish2Parimi avatar Ashish2Parimi commented on June 25, 2024

Thank you! I have tried different monitors but still have the same issue where the lines are plotted without clicking. When I try to move mouse in the UI the lines are automatically plotted.

I am using Opencv4. So I had to update the code by replacing elements like "CV_AA" to match the current commands. Is that causing the problem? Which version of OpenCV should be used for the code to run?

from 2018aicity_teamuw.

zhengthomastang avatar zhengthomastang commented on June 25, 2024

We were using OpenCV 3.6 at that time. Maybe "CV_AA" is no longer available in the latest version?

from 2018aicity_teamuw.

Ashish2Parimi avatar Ashish2Parimi commented on June 25, 2024

Yes it is not available along with few others. So I had to replace them. I will try using 3.6

from 2018aicity_teamuw.

Ashish2Parimi avatar Ashish2Parimi commented on June 25, 2024

Unfortunately I did not find Opencv3.6. The official documentation only mentions up to 3.4 and the 4 and later versions. I have tried 3.4 but it says libopencv not found. I was unable to find a way to manually install it. is there any alternate version or resource ?

from 2018aicity_teamuw.

zhengthomastang avatar zhengthomastang commented on June 25, 2024

@Ashish2Parimi You can try any version as long as "CV_AA" is available. It seems there is an alternative in the latest OpenCV version that might help: xiaohulugo/VanishingPointDetection#3

from 2018aicity_teamuw.

Ashish2Parimi avatar Ashish2Parimi commented on June 25, 2024

I was able to make all the changes and run the code now. Although the final part Speed estimation runs for around 30 seconds and throws the following error. I do have 48772 images.
Screenshot from 2021-08-09 16-41-12

When I had a search, they mention its related to RAM. Please let me know if its a hardware limitation or is there any way to make it run. If possible recommend specifications.

I am using
Intel 9750H
GTX 1660Ti 6GB
16GB Ram

Thanks
Ashish

from 2018aicity_teamuw.

Ashish2Parimi avatar Ashish2Parimi commented on June 25, 2024

I have also tried running it on a different system. and got the following error.
pic

Specs:
Xeon E5-2630 v2
Quarto k4000
64GB ram

from 2018aicity_teamuw.

Ashish2Parimi avatar Ashish2Parimi commented on June 25, 2024

Hello,

I was able to solve the problem. It was related to the index of trk2d.txt which starts from 1 but the code considers it from zero. Despite of altering lines 303,304. The if loop in 315 fails to assign objects to vvoTrkNd vector at index zero. I had to add few lines to make it work. But not sure if its the right thing to do.

from 2018aicity_teamuw.

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.