This key frame extraction project is to extract all the unique and high quality key frames (images) from a video.
All the required libraries are mentioned in requirement.txt file.
Use pip install -r requirement.txt to install all the requirements.
To run the code, execute below command with all the required parameters.
python candidate_frames_folder.py --input_videos "sample_video.mp4" --output_folder_video_image candidate_frames_and_their_cluster_folder --output_folder_video_final_image final_images
This command will create a new folder with the same name as input video name and inside that folder, candidate frames and their clusters based on similarity will be created in "candidate_frames_and_their_cluster_folder" and final key frames in "final_images" folder respectively