Posts

Showing posts from September, 2020

Pencil Photo Sketching

Image
In the present time, we are encircled by various sorts of photograph controlling channels in our cell phones, applications… and so on In any case, do you know how they do these pictures controls… ..? In the backend, they are utilizing PC vision strategies. PC vision has a wide assortment of uses not exclusively to lessen the human exertion yet in addition utilized for diversion applications. Numerous photograph-altering applications like FaceApp, Instagram channels… and so on are utilizing PC vision procedures.  In this article, we will attempt to change over an ordinary photograph into a pencil sketch utilizing PC vision in a python programming language. In this article, we will tell the best way to change over a picture into its relating pencil sketch in a couple of steps.. Step-1: Importing required libraries import cv2 Step-2: Loading the image Using the below code snippet, we will read the image that is to be processed. img = cv2.imread('/content/pic.jpeg',  Step-3: Con...

Drowsiness Alert System

Image
Drowsiness detection is a safety technology that can prevent accidents that are caused by drivers who fell asleep while driving. The objective of this Python project is to build a drowsiness detection system that will detect that a person’s eyes are closed for a few seconds. This system will alert the driver when drowsiness is detected. Driver Drowsiness Detection System In this Python project, we will be using OpenCV for gathering the images from webcam and feed them into a Deep Learning model which will classify whether the person’s eyes are ‘Open’ or ‘Closed’. The approach we will be using for this Python project is as follows : Step 1 – Take image as input from a camera. Step 2 – Detect the face in the image and create a Region of Interest (ROI). Step 3 – Detect the eyes from ROI and feed it to the classifier.Step 4 – Classifier will categorize whether eyes are open or closed. Step 5 – Calculate score to check whether the person is drowsy. The Dataset The dataset used for this mod...