Draw rectangle from webcam and sketch process it on a live feed
Skills:
CV Basics80%
Key Takeaways
Demonstrates how to draw rectangles from webcam feed and process sketches in real-time using OpenCV and Python
Full Transcript
though on today we will use mouse to draw a rectangle from a webcam and then we can convert that into a sketch by using OpenCV so that is the whole project about that before I start explaining you the code let us go ahead and see how my webcam will be looking like and how my output looks like so once I select the webcam so ranking my webcam has opened now it can see my face what I'm going to do I'm going to just create a ROI on my face suppose I create like this Electra Center now you can see that this is the screen that I can see with respect to my face that I can see over here okay so this particular information see is that whatever position it is actually pointing on my face that has becoming as like a state sketch field so basically you can see all the lines on my hairline over here my eyes whereas my lips and all these things so any part you move if that will actually be get converted into sketch so before going for it let's go and see the code that what I have actually used in this I've used open CV over here and in this particular open CV I've actually imported Matt crowd laborer numpy this is my sketch transform function what I am doing in this sketch transform function is that first of all I will start my video capture which is for my back cam as soon as I'll read web frames inside this what I'm going is that I'm calling the sketch transform inside the sketch transform I'm using a Gaussian blur function which will actually convert my image into sketchy format and then I can see my face lines into my particular that particular webcam so if you want to implement these days please download this particular whole getup from this particular file from my github link I'll provide the link in the description and just try to do it this is a very interesting one and you'll have fun with it so if you like this particular video please do subscribe the channel and let me know in the comment section if you want any more videos for me to explain I'll definitely help you out with that so have a great day ahead have a wonderful I have keep on learning keep on learning more and I'll see you all in the next video thank you money
Original Description
Here is a explanation of how we can create a sketch and process it on live feed.
Github: https://github.com/krishnaik06/sketch_roi
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Krish Naik · Krish Naik · 35 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
▶
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Natural Language Processing|Stemming
Krish Naik
Natural Language Processing|BagofWords
Krish Naik
Gaussian distribution or Normal Distribution in statisctics
Krish Naik
Natural Language Processing|TF-IDF for Machine Learning| Text Prerocessing
Krish Naik
Log Normal Distribution in Statistics
Krish Naik
Covariance in Statistics
Krish Naik
Confusion matrix, Precision, Recall| Data Science Interview questions
Krish Naik
Tutorial 44-Balanced vs Imbalanced Dataset and how to handle Imbalanced Dataset
Krish Naik
Implementing a Spam classifier in python| Natural Language Processing
Krish Naik
Tutorial 11-Exploratory Data Analysis(EDA) of Titanic dataset
Krish Naik
Face Recognition using open CV and VGG 16 Transfer Learning
Krish Naik
Pedestrian Detection using OpenCV from Videos
Krish Naik
Face and Eye Detection from Videos using HAAR Cascade Classifier
Krish Naik
Reading, Writing and Displaying images with Opencv| OpenCV Tutorial
Krish Naik
OpenCV Installation | OpenCV tutorial
Krish Naik
Face and Eye Detection from Images using HAAR Cascade Classifier
Krish Naik
Car Detection using HAAR Cascade and Opencv from Videos.
Krish Naik
Using OpenFace for Face recognition in Keras
Krish Naik
OpenPose Tutorial with Tensorflow
Krish Naik
Multiple Linear Regression using python and sklearn
Krish Naik
Dimensional Reduction| Principal Component Analysis
Krish Naik
Movie Recommender System using Python
Krish Naik
TPR,FPR,FNR,TNR, Confusion Matrix
Krish Naik
Precision, Recall and F1-Score
Krish Naik
Artificial Neural Network for Customer's Exit Prediction from Bank
Krish Naik
GridSearchCV- Select the best hyperparameter for any Classification Model
Krish Naik
RandomizedSearchCV- Select the best hyperparameter for any Classification Model
Krish Naik
K Nearest Neighbor classification with Intuition and practical solution
Krish Naik
K Means Clustering Intuition
Krish Naik
Create custom Alexa Skill- Lambda function- Part2
Krish Naik
Hierarchical Clustering intuition
Krish Naik
Implement Transfer Learning with a generic Code Template
Krish Naik
Gender Classifier and Age Estimator using Resnet Convolution Neural Network
Krish Naik
Unlock Your Application With Your Face using OpenCV
Krish Naik
Draw rectangle from webcam and sketch process it on a live feed
Krish Naik
Complete Life Cycle of a Data Science Project
Krish Naik
How we can apply Machine Learning in Finance
Krish Naik
Deep Learning in Medical Science
Krish Naik
How to switch your career to Data Science.
Krish Naik
Linear Regression Mathematical Intuition
Krish Naik
Handle Categorical features using Python
Krish Naik
Machine Learning Algorithm- Which one to choose for your Problem?
Krish Naik
DBSCAN Clustering Easily Explained with Implementation
Krish Naik
Curse of Dimensionality Easily explained| Machine Learning
Krish Naik
Feature Selection Techniques Easily Explained | Machine Learning
Krish Naik
Tutorial 29-R square and Adjusted R square Clearly Explained| Machine Learning
Krish Naik
Cross Validation using sklearn and python | Machine Learning
Krish Naik
Handling Missing Data Easily Explained| Machine Learning
Krish Naik
Deploy Machine Learning Model using Flask
Krish Naik
Deployment of Deep Learning Model using Flask
Krish Naik
How to Visualize Multiple Linear Regression in python
Krish Naik
K Nearest Neighbour Easily Explained with Implementation
Krish Naik
Predicting Heart Disease using Machine Learning
Krish Naik
Predicting Lungs Disease using Deep Learning
Krish Naik
Stock Sentiment Analysis using News Headlines
Krish Naik
Random Forest(Bootstrap Aggregation) Easily Explained
Krish Naik
Voting Classifier(Hard Voting and Soft Voting Classifier)
Krish Naik
Credit Card Fraud Detection using Machine Learning from Kaggle
Krish Naik
Hyperparameter Optimization for Xgboost
Krish Naik
Tutorial 45-Handling imbalanced Dataset using python- Part 1
Krish Naik
More on: CV Basics
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
Commuters don’t distrust the city. They distrust the app.
Medium · UX Design
A Young Designer’s Question: What Are Companies Actually Hiring For?
Medium · UX Design
Why Clear Calls-to-Action Are Essential for Business Websites
Medium · UX Design
AI in Design: The Skill That Gets Scarce When Making Gets Cheap.
Medium · AI
🎓
Tutor Explanation
DeepCamp AI