Skip to content

yasinyildirim/ShotDetection

Repository files navigation

ShotDetection

Open source software that detects shot boundaries in video.

1. Introduction

ShotDetector is a free software (LGPL) which detects shot boundaries from a video. The result can be produced in various formats. Produced file contains frame numbers and durations of detected shots in addition to general information of analyzed video. Currently, XML, YAML and TEXT (simple .txt file) formats are supported.

2. Dependencies

  • OpenCV 2.3 or greater
  • g++ (gcc)
  • make (only necessary if Makefile is used for building program)
  • pkg-config (only necessary if Makefile is used to build program)

3. Build and Install

In order to build the software, cd inside the main directory and run below command in terminal (or command prompt):

make

Also you can use GCC compiler directly (using g++ command) to build the software wthout using Make.

4. Usage

      -h               : Show help
      -t threshold     : Set threshold value. This value specifies sensitivity of detecting shots.
      -i file          : Sets input video file
      -o output_path   : save detected shots to output path 'output_path'
      -s sample_period : set the sample period of stored frames. (Default = 0) Bigger sample period 			   : means less images to be stored. 
      -show            : display the shots on GUI (Graphical Version)

Example: ./ShotDetection -i test.mp4 -o outputs -show

5. Support

  • yildirimyasi(at)gmail(dot)com

6. License

Licensed under GNU Lesser General Public License (LGPL). See COPYING and LICENSE files for details.

About

Open source software that detects shot boundaries in video.

Topics

Resources

License

LGPL-2.1, Unknown licenses found

Licenses found

LGPL-2.1
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published