Giter Site home page Giter Site logo

Example settings file about trex HOT 2 CLOSED

mooch443 avatar mooch443 commented on May 28, 2024
Example settings file

from trex.

Comments (2)

mooch443 avatar mooch443 commented on May 28, 2024

Hey!

Thanks for your interest in our software :-)

Settings files are simple text files with a parameter = value syntax (one per line). You can look up parameters at https://trex.run/docs/parameters_trex.html for example. Almost anything found there can be set using either the command-line or a settings file. Settings files have to be either (1) named with the same basename as the .PV video file you want to associate with them, or (2) declared when starting TRex (command-line) using -s /path/to/settings.settings.

You can find results/settings files at https://videos.trex.run, where you'll have to download the V1+V2_Appendix12_results.zip file. Here is what's inside 4Mice.settings (also an example of a settings file):

blob_size_ranges = [[2,7]]
gui_auto_scale_focus_one = false
gui_focus_group = [0,3]
gui_show_dataset = true
gui_show_posture = false
individual_prefix = "mouse"
midline_invert = true
recognition_image_scale = 0.75
recognition_image_size = [128,128]
recognition_save_training_images = true
recognition_segment_add_factor = 1.15
track_max_individuals = 4
track_max_reassign_time = 0.25
track_max_speed = 100
track_posture_threshold = 150
track_speed_decay = 1
track_threshold = 135

Conversion of the videos has been performed (in the case of 4Mice) with the following command-line:

tgrabs -i 4Mice.mp4 -threshold 80

Hope this helps!
-Tristan

from trex.

uday-chockanathan avatar uday-chockanathan commented on May 28, 2024

Hey Tristan, thanks for your help!

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.