/Useful-Python-Snippets

Collection of useful Python Snippets ( Video to images - editing text file - Video Capturing - remove files - rename files )

Primary LanguagePython

Useful Python Snippets

videoToImg.py : Converting video frames to images using opencv.

videoCapture.py: Capturing videos using opencv.

renameFiles.py: Renaming files (used for renaming 8000 images as dataset).

compressFile.py: Compressing any file to smaller size.

rmFiles.py: Removing files that aren't existing in another folder(used for removing labels txt files that don't have existing images).