Comments (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:
- 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รก.
- 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)
- Trex Quitting Unexpectedly + TGrabs not showing up on Trex HOT 3
- Export fish path HOT 1
- How is neighbor distance calculated? HOT 1
- Proximity Issue HOT 1
- libGL error on fedora 36 HOT 3
- Error in Local conda channel Installation HOT 1
- Heatmap not working after update to 1.1.9 HOT 2
- manually setting origin HOT 4
- frame_rate doesn't seem to map predictably across parameters HOT 2
- Additional info on blob values in raw mode HOT 3
- Size of GUI HOT 3
- File format for visual fields HOT 1
- How to export problematic frames flagged timeline data HOT 1
- Training images not being saved HOT 2
- TRex crash HOT 3
- Override automatic matches HOT 3
- pvinfo not displaying information about blobs
- Visual identification fails HOT 3
- Auto_categorize not working HOT 2
- Regions of interest (ROIs) HOT 2
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 trex.