Skip to main content

No project description provided

Project description

YOLO video detection in the TouchDesigner

Description

Requirements

  1. Python 3.9 or higher. It is more preferable to have same version as in the TouchDesigner.

How to run

PyPI version

Install dependencies

For GPU:

pip install -r. /requirements.gpu.txt

s For CPU:

pip install -r. /requirements.cpu.txt

For development:

pip install -r ./requirements.dev.txt

Compile Cython extension

You need C compiler to compile extension. See

python -m cibuildwheel --platform <your_platform>

Install binary distribution:

pip install ./dist/*.whl

Usecases

Video detection

Run:

python ./main.py -c <checkpoint_path> -i <video_path> -o <video_path>

If you run script in the directory with source code see modification of sys.path in the beginner of the file.

With TouchDesigner

Run server processing:

python ./processing.py -p <path_to_model>

Open touch_designer.py in the TouchDesigner as SCript TOP.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

touch_designer_yolo_detection-0.0.2-cp39-cp39-win_amd64.whl (54.4 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

touch_designer_yolo_detection-0.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (246.3 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

touch_designer_yolo_detection-0.0.2-cp39-cp39-macosx_10_9_x86_64.whl (54.4 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page