diff --git a/Application/src/tracker/misc/CMakeLists.txt b/Application/src/tracker/misc/CMakeLists.txt index ec9abd747a2a4d8fab2ee7e69066377664694ec5..c520bcc921ddec64bc9b60498a2ab1d77298df5f 100644 --- a/Application/src/tracker/misc/CMakeLists.txt +++ b/Application/src/tracker/misc/CMakeLists.txt @@ -24,7 +24,11 @@ target_link_libraries(tracker_misc PRIVATE add_dependencies(tracker_misc TRex::OpenCV) if(TREX_CONDA_PACKAGE_INSTALL) - set(CONDA_PREFIX_VAR "$ENV{PREFIX}") + if(WIN32) + set(CONDA_PREFIX_VAR "$ENV{BUILD_PREFIX}") + else() + set(CONDA_PREFIX_VAR "$ENV{PREFIX}") + endif() string(REPLACE "\\" "\\\\" CONDA_PREFIX_VAR "${CONDA_PREFIX_VAR}") target_compile_definitions(tracker_misc PRIVATE TREX_PYTHON_PATH="${CONDA_PREFIX_VAR}") message(STATUS "Setting TREX_PYTHON_PATH=${CONDA_PREFIX_VAR}") diff --git a/README.md b/README.md index d095b45a7d4b75c3c2013e50117be9963b271f7c..c87d65dc12d073a36ffa6ed44fc1ac110a61db4b 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,15 @@ # Hey there -Welcome to the git repository of **TRex** (https://trex.run), a video-based multi-object tracking software with recording and visual identification capabilities. +Welcome to the git repository of **TRex** (https://trex.run) -- a software designed to track and identify individuals and other moving entities using computer vision and machine learning. The work-load is split into two (not entirely separate) tools: + +* **TGrabs**: Record or convert existing videos, perform live-tracking and closed-loop experiments +* **TRex**: Track converted videos (in PV format), use the automatic visual recognition, explore the data with visual helpers, export task-specific data, and adapt tracking parameters to specific use-cases TRex can track 256 individuals in real-time, or up to 128 with all fancy features like posture estimation enabled, and for up to 100 individuals allows you to (when realtime speed is not required) visually recognize individuals and automatically correct potential tracking errors. -This package includes a complementary tool, called **TGrabs**, which is used to directly process already saved videos, or to record directly from -webcams and/or Basler machine-vision cameras (but can be extended for other APIs with a bit of C++ knowledge) with integrated and customizable closed-loop support. +**TGrabs**, which is used to directly process already saved videos or to record directly from webcams and/or Basler machine-vision cameras with integrated and customizable closed-loop support. Camera support can be extended for other APIs with a bit of C++ knowledge, of course. # Installation