Download the folders from S3 Bucketimport boto3 import os def downloadDirectoryFroms3(remoteDirectoryName): aws_access_key_id = "" aws_secret_access_key = "" BUCKET_NAME = "" s3_resource = boto3.resource('s3', aws_access_key_id=aws_access_key_id, ...Nov 17, 2022 · 1 min readmuhfaizan001.hashnode.dev
Video Processing using python and openCVThe code of following operation on videos will cover in this blog how to save the video? import cv2 video = cv2.VideoCapture("path_of_inputPath") if (video.isOpened() == False): print("Error reading video file") frame_width = int(video.get(3))...Oct 19, 2022 · 1 min readmuhfaizan001.hashnode.dev
Effective way to solve any programming problemThe effective way to learn and write any program is to follow as Depend upon passion and love toward programming. Make an account on a "leetcode" like platform which provides the facility to write code for a new problem Think about how the problem...Oct 16, 2022 · 1 min readmuhfaizan001.hashnode.dev
Python PEP 8 standardPep8 standards are coding convention which help to write python code. The purpose of Pep8 to write a code in such a way it is easily understand for other. The following are the main pep8 standard points. Variable naming conventions should any one fo...Aug 21, 2022 · 2 min readmuhfaizan001.hashnode.dev
How to train the YOLOV5 model on custom dataset in google Colab.Problem In this blog, you will learn how to train the yolov5 model on a custom dataset. YOLOv5 is an algorithm used for object detection. I will apply the YOLOv5 to classify the mask and unmask the person and also localize its face. Steps to solve t...Aug 21, 2022 · 2 min readmuhfaizan001.hashnode.dev