Purfview / scenic

A windows tool for categorising video files by scene and tagging each scene by colour, motion and the existence of faces.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scenic: Video Scene Detection and Analysis

A windows tool for categorising video files by scene and tagging each scene by colour, motion and the existence of faces. Written in python using avisynth (for video reading), SCXvid for scene change detection, mvtools2 for motion detection, PIL (for image quantization) and OpenCV (for face detection).

Binaries

Windows executables are available on the github releases page.

Command Line Arguments

Usage:
  scenic.py
  scenic.py [<PATH>...]
  scenic.py [--skip | --overwrite] [options] [<PATH>...]
  scenic.py (-h | --help)
  scenic.py --version

Options:
  --skip        Skip file if .html file exists.
  --overwrite   Always overwrite any existing output files.
  --frames=N    Number of frames to sample per scene. [default: 4]
  --minscene=N  Smallest allowed scene length in frames. [default: 10]
  --faces=N     Process 1 in N samples for face detection. [default: 1]
  --colours=N   Number of colours to detect per scene. [default: 6]
  --cpus=N      Number of logical processors to use. Uses all by default.
  --silent      Silent mode. Use --skip or --overwrite to surpress dialogs.
  --no-colours  Do not tag scenes by colour.
  --no-motion   Disable motion Detection.
  --no-face     Disable scene face recognition.
  --no-popups   Do not open generated html in the web browser.
  --no-xml      Do not generate the FCP .xml file.
  --version     Show version.
  -h --help     Show this screen.

Dependencies

Required 3rd party files and Binaries

These should be copied to the /resources/ folder.

Building with PyInstaller

I use the following command:

python -O /path/to/pyinstaller-script.py --onefile --upx-dir=/path/to/upx/ scenic.spec

About

A windows tool for categorising video files by scene and tagging each scene by colour, motion and the existence of faces.

License:MIT License


Languages

Language:Python 100.0%