Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.0.7 instead.

Sentinel Vision: YOLO Video Detector

This project includes a native desktop application for Windows. It runs video inference locally with a modern CustomTkinter interface and does not require a browser or a local web server.

This application supports exactly three processing modes:

  • Model 1: uses models/best1.pt | best_aug_cv_2.pt only.
  • Model 2: uses models/best2.pt | best_cv_5 only.
  • Ensemble: runs best1.pt and best2.pt on the same frame and combines their predictions with Weighted Box Fusion.

The ensemble is logic, not a third model file.

Dataset classes

The supplied data.yaml defines:

  • 0 = mask
  • 1 = spectacle
  • 2 = helmet
  • 3 = balaclava

These classes are allowed to overlap in the initial configuration. No global cross-class suppression is applied because, for example, a helmet and spectacle can legitimately appear in the same region.

Install from PyPI

Install the application and its Python dependencies into any supported Python environment:

python -m pip install shsk_suspiciousness

After installation, run this command once to confirm the installation with an ASCII banner:

shsk_suspiciousness

After that, use the explicit GUI command whenever you need it:

shsk_suspiciousness run

The package includes the trained model files. FFmpeg must also be installed on the system and available on PATH. To use a custom FFmpeg executable, set SENTINELVISION_FFMPEG before running the application. Processed videos and temporary uploads are stored in ~/.sentinelvision by default; override this with SENTINELVISION_DATA_DIR.

Run from the source checkout

  1. Put the trained weights in models/:
models/best1.pt
models/best2.pt
  1. Create a virtual environment and install packages:
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
  1. Start the desktop application:
python app.py

Select a video, choose Model 1, Model 2, or Ensemble, and press Analyze video. The result is previewed inside the application and saved in outputs/.

Run the legacy web application

The original browser interface remains available when needed:

python app.py --web

Then open http://127.0.0.1:5000.

On a Raspberry Pi, access it from another device using the Pi's LAN IP, for example:

http://192.168.1.50:5000

Raspberry Pi tuning

config.py contains the main tuning controls.

Start with:

FRAME_SKIP = 1

If inference is too slow on the Pi, try 2, 3, or 5. Skipped frames reuse the last detection result, so the output video remains annotated while the detector runs less frequently.

The current statistics count detection occurrences across analyzed frames, not unique physical objects. Unique-object counting requires an object tracker and should be added separately.

Metadata

Release files for shsk-suspiciousness 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shsk-suspiciousness 1.0.3
File Size Uploaded
shsk_suspiciousness-1.0.3.tar.gz 9.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for shsk-suspiciousness 1.0.3
File Interpreter ABI Platform
shsk_suspiciousness-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 19.2 MB

Release files / shsk_suspiciousness-1.0.3.tar.gz

Download URL shsk_suspiciousness-1.0.3.tar.gz
Size 9.6 MB
Tags Source
SHA-256 checksum
How to use checksums
bc1754eea3701488c300b30c9572e957513bb174387c051625442ac7f40f1349
BLAKE2b-256 checksum
How to use checksums
55c18b5743e5a9681b2e8e94d206a63164094493624ab7951d8fbda2400274b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / shsk_suspiciousness-1.0.3-py3-none-any.whl

Download URL shsk_suspiciousness-1.0.3-py3-none-any.whl
Size 9.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
31b0b89395797fcfde572ead6147c415a0ff163008446a88af1973119ff85dca
BLAKE2b-256 checksum
How to use checksums
9dd4fff6e18208832d0d3b0cae887f4c4fc8c5ada7af80e2142a41ad07d093fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

1.0.7

2 release files

1.0.6

2 release files

This release

1.0.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page