INTEW / ShotDetection

Open source software that detects shot boundaries in video.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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):

we use CMakeLists.txt to compile the code:

mkdir build
cd build
cmake ..
cd ..
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.

License:GNU Lesser General Public License v2.1


Languages

Language:C++ 89.6%Language:QMake 9.2%Language:Makefile 0.6%Language:CMake 0.5%