These are some of the function that we use for specific tasks in python, utility functions. Hope this helps.
OpenCV
json
Pillow
To run -> python3 Select_annotated_images.py
To run -> python3 convert_VideoFrames_to_Images.py <Path/to/Video>
To run -> python3 CropImagesUsingCOCOAnnotation.py
To run -> python3 IPCameraStreamCheck.py <IP of the camera \ index of webcam (0 by default)>
To run -> python3 convertMongojsonToJSON.py <Path/to/MongoJson>