Tell us about yourself!

Complete Your Profile
  • HaroonR11 commented on nivenenna's instructable Motion Detection Alarm System 3 years ago
    Motion Detection Alarm System

    Hello Did u get it?

    View Instructable »
  • HaroonR11 commented on nivenenna's instructable Motion Detection Alarm System 3 years ago
    Motion Detection Alarm System

    HiYes i' using it for the face detection. I've algorithm for it but dont know how to plant it in building block

    vid= videoinput('winvideo',2);set(vid,'FramesPerTrigger'I);set(vid,'TriggerREpeat',inf);set(vid,'ReturnedColorspace','rgb');set(vid,'Timeout',50);vid.FrameGrabInterval=5triggerconfig(vid,'manual');start(vid);for ii=1:50FaceDetect=vision.CascadeObjectDetector('FrontalFaceLBP');I=getsnapshot(vid);I = imread('p2.jpg')trigger(vid);%figure(I);imshow(I);BB=step(FaceDetect,I);if (numel(BB)==0) continue;end;rectangle('position',BB,'LineWidth',4,'LineStyle','-','EdgeColor','b');title('EyesDetection');Face=imcrop(I,BB);EyeDetect=vision.CascadeObjectDetector('EyePairSmall');BB2=step(EyeDetect,Face);b=size(BB2);if(numel(BB2)==0)disp=('Not detected');continue;elsedisp('Detected');end;Eyes=imcrop(Face,BB2);Figure(3);imshow(Eyes);Eyes_BW=im2bw(Eyes,0.3);Figure(I);imshow(Eyes_BW);se=strel('square',1...

    see more »

    vid= videoinput('winvideo',2);set(vid,'FramesPerTrigger'I);set(vid,'TriggerREpeat',inf);set(vid,'ReturnedColorspace','rgb');set(vid,'Timeout',50);vid.FrameGrabInterval=5triggerconfig(vid,'manual');start(vid);for ii=1:50FaceDetect=vision.CascadeObjectDetector('FrontalFaceLBP');I=getsnapshot(vid);I = imread('p2.jpg')trigger(vid);%figure(I);imshow(I);BB=step(FaceDetect,I);if (numel(BB)==0) continue;end;rectangle('position',BB,'LineWidth',4,'LineStyle','-','EdgeColor','b');title('EyesDetection');Face=imcrop(I,BB);EyeDetect=vision.CascadeObjectDetector('EyePairSmall');BB2=step(EyeDetect,Face);b=size(BB2);if(numel(BB2)==0)disp=('Not detected');continue;elsedisp('Detected');end;Eyes=imcrop(Face,BB2);Figure(3);imshow(Eyes);Eyes_BW=im2bw(Eyes,0.3);Figure(I);imshow(Eyes_BW);se=strel('square',1);Eyes_Dilated=imdilate(Eyes_BW,se);meanIntensity=mean2(Eyes_BW);disp(meanIntensity)if meanIntensity>0.92 imshow(I),title('Eyes Closed'); disp('Eye Closed') else imshow(I),title('Eyes Open'); disp('Eye Open')endfigure(I);imshow(Eyes_Dilated),title('Dilated');end;stop(vid);delete(vid);clearall## this is the code which i'm running on matlab

    View Instructable »
  • HaroonR11 commented on nivenenna's instructable Motion Detection Alarm System 3 years ago
    Motion Detection Alarm System

    Thanks for the rplyLike this project about the motion detection i want it to use it for face detection how can i get through it?Or can i do it with reactive blocks?

    i need some help in my project which is detection of eye blinking system for which i've upload a video file to check the the eye blinking actually i want to know that how to upload that video file in raspberry pi using matlab to make it standalone thanks

    View Instructable »
  • HaroonR11 commented on echoalex's instructable Getting to know Raspberry Pi3 years ago
    Getting to know Raspberry Pi

    i need some help in my project which is detection of eye blinking system for which i've upload a video file to check the the eye blinking actually i want to know that how to upload that video file in raspberry pi using matlab to make it standalone thank

    View Instructable »