Giter Site home page Giter Site logo

Comments (1)

mooch443 avatar mooch443 commented on May 24, 2024 1

Hey, thank you for your report.

This sounds to me like a "validation" project, more or less. I am guessing you would do this once, more or less, to verify that you can trust it. And then not again? Since once you trust it, you could just use it, right? I would split this into two parts and answer each question individually:

  1. Is it possible to validate whether all individuals are successfully tracked, or whether some of them (visible in the original video) do not appear in the tracking results? This is a bit difficult, but... usually you would, even if the animals are not successfully recognised/thresholded away, see some part of them in the RAW view. This is what you can toggle in TRex by pressing D (to enter debug/RAW mode or normal). It also shows you the sizes of individuals, etc. Usually, if its due to threshold (the worst), then you will still see some remaining smear of this animal there - if not, then you have a more complicated case. Like, when individuals can be vastly different colors/brightnesses. There is no option to include the full video frame, since this defeats the entire purpose of preprocessing (videos can be very slow to read). However, if you just wish to do this once/twice/for a subset of videos: You can start with this https://github.com/mooch443/trex/blob/master/docs/scripts/plot_posture_output.py script, and extend it to include the original video frames (if you also generate postures). I might include a script for this soon, but I will answer you here first. Basically the script behind the link, but add in a cv::VideoCapture and read frame by frame, display the frame as the background - voiรก.
  2. Is it possible to validate how accurate the contours are? No. Unless you have manual validation data/just want to do it visually. Depending on your outline_approximate setting, however, this will be more or less intentionally inaccurate. If you disable it (=0) then you will get pixel perfect contours. The same goes more or less for positions, which you could only validate with manual data (e.g. in a Python script) or through visual inspection, which is - I would think - what you mean. This could be done e.g. via the script I mention above, also including posture.

Hope this helped! I can consider including an option to display the video alongside it, but that would also imply a lot of adjustments for all kinds of options like scaling, cropping, etc., so its not trivial.

from trex.

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.