- Video shot detection in four algorithms: Histogram Intersect, Moment Invariant(Humoment), Motion Vector(Optical Flow), Twin Comparison(Based on Histogram).
- Input: video clip (or a sequence of decoded images)
- Output: frame number at which the lens switch occurs (lens mutation and lens gradient)
- Video Material:movie.mp4
- Histogram Intersect
- Input in cmd:
python color_hist.py
- Output: images in
similarResult
folder
- Input in cmd:
- Moment Invariant
- Input in cmd:
python humoment.py
- Output: images in
humomentDetectResult
folder
- Input in cmd:
- Motion Vector
- Input in cmd:
python opt_flow.py
- Output: images in
optResult
folder
- Input in cmd:
- Twin Comparison
- Input in cmd:
python twin_comparison.py
- Output: images in
HistTwinComparisonResult
folder
- Input in cmd:
Results are based on my own parameters for these algorithms.