Comments (4)
Hey, thanks for your report.
You might be able to circumvent your problem by setting track_speed_decay = 1
and track_max_reassign_time
to a high value (in seconds). This should essentially model the behaviour that you expected - identities might still jump to nearby objects, but in general should (given a low track_max_speed
) not jump around too much. track_speed_decay
provides a hint to TRex of what is expected to happen if an individual is lost - e.g. it will stay "in-place", or it will continue moving (over or behind obstacles) and emerge somewhere else. A value of 1 will indicate that it stays where it was last seen.
Does this help?
-Tristan
from trex.
Yes, this does help, thanks!
I'm not sure how best to communicate with you and I don't want to open lots of requests, so I'm going to add some offtopic here:
- Is it possible to give the output columns a different name? I already managed to only output the columns I need.
- The
track_ignore
format description is not clear to me: what does the(, ...)
mean? Is there a]
too many? I tried[[1,1],[500,1],[500,500],[1,500]]
(as an example), but it threw me a syntax error.
from trex.
Hey,
here is good. Opening issues is (luckily) not an issue. It is actually good to have this as a reference for future readers as well. Parts could also be added to a Wiki in the future... we will see.
- Is it possible to give the output columns a different name? I already managed to only output the columns I need.
If you are exporting as CSV, then renaming the columns would be simply to edit the (text-format) CSV files and change the name. This could also be batched of course (e.g. with Bash or Python). If you are using the standard way, you can load files in Python via (not tested):
import numpy as np
map = { 'old_column': 'new_column' }
file = {}
with np.load("fish0.npz") as npz:
for key in map:
file[map[key]] = npz[key]
np.savez("renamed_fish0.npz", *map)
- The
track_ignore
format description is not clear to me: what does the(, ...)
mean? Is there a]
too many? I tried[[1,1],[500,1],[500,500],[1,500]]
(as an example), but it threw me a syntax error.
In TRex (and better in the new version v1.1.2) you can CTRL+Click or CMD+Click or SHIFT+CLICK (depending on your system and TRex version, sorry) on the background to select a shape. This shape can then be either printed to the terminal (and you can copy it there) or directly added to track_ignore
or track_include
. You may have to reanalyse with the new shapes in place - but whatever shapes you select/print out should be compatible with those parameters.
Otherwise, or more generally, the syntax is:
[SHAPE,SHAPE,SHAPE, ... ]
and each SHAPE is:
[POINT,POINT, ... ]
So, in short, I believe you are missing a bracket pair around the list.
from trex.
Thank you, that answers both questions! I had a rename script like this one in place, but wondered if it could be skipped.
I suggest you add a [
in the examples for track_ignore
and track_include
and an 'each' after the '>= 3 points' in the descriptions (or something similar) to make it clearer.
Edit: You might want to add that they will be only convex polygons.
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.