GithubHelp home page GithubHelp logo

Comments (9)

Nuzhny007 avatar Nuzhny007 commented on August 16, 2024

Hi!
If you can to add this lines to this project then I will help you with trajectories postprocessing.

from multitarget-tracker.

isra60 avatar isra60 commented on August 16, 2024

Do you mean a vector of cv::Points ??

from multitarget-tracker.

Nuzhny007 avatar Nuzhny007 commented on August 16, 2024

I think this functionality does not apply directly to the tracker. I propose to design the current tracker as a shared library, and for your task to make a separate test case. I'll try to implement it this evening.

from multitarget-tracker.

Nuzhny007 avatar Nuzhny007 commented on August 16, 2024

I make new PL: #104
Now project contains 3 folders: shared library with shared tracking library, previous examples that used this library and new cars counting example.
And in the future I will add lines in this new example.
Line is a two corners (cv::Point2f) in relative coordinates from 0 to 1. I can implement method that will check intersection with line. It will be enough?

from multitarget-tracker.

isra60 avatar isra60 commented on August 16, 2024

mmmm.. maybe I don't explain well. I mean it's ok to have a counting car project . But what I want it that tracks has to follow a certain trayectory to avoid false detection (like image artifacts) that just appear on image and dont have a complete trayectory-

from multitarget-tracker.

Nuzhny007 avatar Nuzhny007 commented on August 16, 2024

Hi!
I implemented code with line intersection: #105
You can see how it works: https://www.dropbox.com/s/ztd4eyi04bz3z00/counting2.avi?dl=0
And You can implement logic with road marking based on this functionality. It would be enough?

from multitarget-tracker.

isra60 avatar isra60 commented on August 16, 2024

Yeah it's great but thats not the problem i'm refering to.
Yo can see in this video. You have correct detections of car but then The thermal image changes rapidly and then you have artifacts in the image that can lead to wrong line intersection. That last box does not have a real trayectory just appear and then cross the screen.

https://drive.google.com/file/d/1j5Z5egFY-6kYFUYe7uwwLeDv0X6LOt5n/view?usp=sharing

from multitarget-tracker.

isra60 avatar isra60 commented on August 16, 2024

Also I have seen on your last pull request some changes involved Kalman filter code, is that related to this?
Thanks in advance

from multitarget-tracker.

Nuzhny007 avatar Nuzhny007 commented on August 16, 2024

That last box does not have a real trayectory just appear and then cross the screen.

And you can create 2 road lines: https://github.com/Smorodov/Multitarget-tracker/blob/master/cars_counting/main.cpp#L44
And check intersection with they: no intersections - valid car. This lines aren't only for cars counting - they can be used for any logic and conditions.

Also I have seen on your last pull request some changes involved Kalman filter code, is that related to this?

Yes and no. After testing tracker on any videos with different parameters it was founded some bug. They was fixed.

from multitarget-tracker.

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.