filmov
tv
Fun with Computer Vision(with complete code) | MATLAB

Показать описание
Prerequisite:
Code:
clc
clear all
close all;
warning off;
FDetect=vision.CascadeObjectDetector('LeftEyeCART','MergeThreshold',50);
FDetect2=vision.CascadeObjectDetector('RightEyeCART','MergeThreshold',50);
c=webcam;
t=0:0.01:2*pi;
while true
BB_L=step(FDetect,e);
BB_R=step(FDetect2,e);
if(~isempty(BB_L) && ~isempty(BB_R))
cenrL=floor((BB_L(1)+BB_L(1)+BB_L(3))/2);
cencL=floor((BB_L(2)+BB_L(2)+BB_L(4))/2);
cenrR=floor((BB_R(1)+BB_R(1)+BB_R(3))/2);
cencR=floor((BB_R(2)+BB_R(2)+BB_R(4))/2);
imshow(e);
hold on;
x=cenrL+20*cos(t);
y=cencL+20*sin(t);
fill(x,y,'k','LineStyle','none');
x=cenrR+20*cos(t);
y=cencR+20*sin(t);
fill(x,y,'k','LineStyle','none');
plot([cenrL+40 cenrR-40],[cencR cencR],'k','linewidth',3);
else
imshow(e);
end
drawnow;
end
Learn Image Processing with MATLAB:
#DigitalImageProcessing #MATLAB #ComputerVision
Code:
clc
clear all
close all;
warning off;
FDetect=vision.CascadeObjectDetector('LeftEyeCART','MergeThreshold',50);
FDetect2=vision.CascadeObjectDetector('RightEyeCART','MergeThreshold',50);
c=webcam;
t=0:0.01:2*pi;
while true
BB_L=step(FDetect,e);
BB_R=step(FDetect2,e);
if(~isempty(BB_L) && ~isempty(BB_R))
cenrL=floor((BB_L(1)+BB_L(1)+BB_L(3))/2);
cencL=floor((BB_L(2)+BB_L(2)+BB_L(4))/2);
cenrR=floor((BB_R(1)+BB_R(1)+BB_R(3))/2);
cencR=floor((BB_R(2)+BB_R(2)+BB_R(4))/2);
imshow(e);
hold on;
x=cenrL+20*cos(t);
y=cencL+20*sin(t);
fill(x,y,'k','LineStyle','none');
x=cenrR+20*cos(t);
y=cencR+20*sin(t);
fill(x,y,'k','LineStyle','none');
plot([cenrL+40 cenrR-40],[cencR cencR],'k','linewidth',3);
else
imshow(e);
end
drawnow;
end
Learn Image Processing with MATLAB:
#DigitalImageProcessing #MATLAB #ComputerVision
Fun With Computer Vision
Automated Shirt Size Measurement - Computer Vision Web Development
Computer Vision Explained in 5 Minutes | AI Explained
Computer Vision 101 - Mediapipe + Threejs
Simple Arduino & Python Projects 👀🧑🏻💻💫 | #arduino #python #opencv #electronic #computervision...
AI-Powered People Counting System: Optimizing Traffic Control and Safety Management
made some new tutorials this week 🪬 #computervision #tutorial #mediapipe #threejs #creativecoding
Top 25 Computer Vision Projects 2021
22 Machine Learning Projects That Will Make You A God At Data Science
Computer Vision Syndrome
5 Real World Applications of Computer Vision | Learn Artificial Intelligence
Volume adjusting using Gestures #opencv #ai #computervision #project #pythonprogramming
#computervision #python #bodytracking
How to Trick ChatGPT in 15 Seconds - Fooling AI #ai #chatbot #chatgpt #gpt
Funny Video 🤣 for you 😁 #shorts #funnyvideo #memes
Face Detection Project with Arduino 🔥📈 | #shorts #arduino #electronics #opencv #python
Unlocking Computer Vision #shorts
Learn Machine Learning Like a GENIUS and Not Waste Time
Fun Research in Computer Vision and Robotics
12 New AI Projects using Raspberry-Pi, Jetson Nano & more
Qt 5 and Open CV 4 Computer Vision Projects | 4. Fun with Faces
3 exercises for digital eye strain #eyestrain #bluelightglasses #eyeexercise #computervision
Only a few will understand
WE BOTH HAVE ONE EYEBALL 😮 #shorts
Комментарии