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.2

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.2
File Size Uploaded
shsk_suspiciousness-1.0.2.tar.gz 9.6 MB Details

Built distribution (wheel)

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

Total release size: 19.2 MB

Release files / shsk_suspiciousness-1.0.2.tar.gz

Download URL shsk_suspiciousness-1.0.2.tar.gz
Size 9.6 MB
Tags Source
SHA-256 checksum
How to use checksums
3d9355d5ed2842c2189bf13dc547462092e2fae9ebe922e6f7169e8807306a1d
BLAKE2b-256 checksum
How to use checksums
b567da4b819097432b1f5a21d1465bcb3a1b24d7e483e6f41e0f89cca32c598d
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.2-py3-none-any.whl

Download URL shsk_suspiciousness-1.0.2-py3-none-any.whl
Size 9.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
94bc5f2e80be0f0cca37f9e8e5fab046227c530dc91071cb2f7ceea37e3f6a93
BLAKE2b-256 checksum
How to use checksums
da5a3e6fc6e25c1acf0827badc7f25667b113a5f661b9cdb56667865effab1d2
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.2 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