Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Breakthrough/python-scene-detection-tutorial

:snake: Tutorial on detecting video shot changes using Python and OpenCV. Part 1 covers basic threshold detection, Part 2 covers optimized threshold detection.
https://github.com/Breakthrough/python-scene-detection-tutorial

Last synced: 4 days ago
JSON representation

:snake: Tutorial on detecting video shot changes using Python and OpenCV. Part 1 covers basic threshold detection, Part 2 covers optimized threshold detection.

Awesome Lists containing this project

README

        

Scene Detection with Python and OpenCV (Tutorial)
==========================================================
By: [Brandon Castellano](http://www.bcastell.com)

----------------------------------------------------------

>
> **NOTE: My website is currently undergoing construction (migrating to a Github-based solution), and thus the below links do not work (they will once the migration is completed).**
>
> **In the meantime, you can view a cached version of the pages below using the [Internet Archive's Wayback Machine](https://archive.org/web/).**
>
>

This repository contains the example programs, corresponding to the three-part tutorial on detecting scene changes in videos with Python and OpenCV, which can be found at:

1. [Simple Threshold/Fade-to-Black Detection](http://www.bcastell.com/tech-articles/pyscenedetect-tutorial-part-1/)
2. [Optimized/Adaptive Threshold Detection](http://www.bcastell.com/tech-articles/pyscenedetect-tutorial-part-2/)
3. Suppressing/Discarding False Scene Changes (coming soon!)

You can get the latest sample code/video from [the releases page](https://github.com/Breakthrough/python-scene-detection-tutorial/releases). All files in the `examples/` directory are released into the public domain. In total, there are three programs (`part1-threshold.py`, `part2-adaptive.py`, and still under development, `part3-content-aware.py`) corresponding to the respective part in the tutorial linked above. Usage details for each program can be found in the comment header for that file.

----------------------------------------------------------

Related to this tutorial is [PySceneDetect](http://www.bcastell.com/projects/pyscenedetect/), a robust OpenCV-based scene detection program.

----------------------------------------------------------

Copyright (C) 2013-2020 Brandon Castellano.
All rights reserved.