/track-osc

A demo python program that tracks objects using Yolo and reports positions via OSC

Primary LanguagePython

track-osc

A tool to track movement of objects and sent that information as OSC messages.

Running

Binary

There is a released executable in Github releases

Interpret the python code

You need to install python and poetry.

Install Python 3 from the official website.

Poetry is a tool to automatically take care of installing dependencies and running your python scripts. To run this application you need to install poetry. The easiest way is to install it via pipx (to see how install pipx see here).

With pipx installed, to install poetry run the following code:

pipx install poetry

To run this application do:

poetry install
poetry run track-osc

To package the application with pyinstaller creating a stand-alone executable do:

poetry run build-exe

The executable will be dist/track-osc or dist/track-osc.exe

vscode

To select the virtualenv created by poetry in vscode click on the virtualenv selection dropdown at the bottom of the edit window and select the entry which has "poetry" on the right.