The program in this repository get a video and crop it
This program was written in C++, OpenCv library and It was made using the IDE QtCreator.
To use this program the user must follow this step below:
- The user must type the input video path. ex.: /home/usr/video.mp4
- Type the output video path. ex.: /home/user/ or if the user only press enter without typing the path, the cropped video will be saved on this the program's directory
- The next step the user must enter a value to x and y that represents a pixel coordinate. Following the width and height video.
- the program crops the video based on the value of x,y and width and height.
- If the user want to crop more parts of the same video he will have to pess 1 to type new value to x,y,width and height or 0 to finish the program.
The video will be at the ouput path typed by the user with the name outcpp0.avi. If the user type more value to crop the output will be outcpp0.avi, outcpp1.avi, outcpp2.avi...