My Computer Vision Projects

ยท

3 min read

Hi, ๐Ÿ‘‹

I am Asadullah Dal, graduated in BS Electronics, since 2020 I have been working on computer vision, have created few projects, by using python modules, named Opencv-python, Dlib and Mediapipe, a most popular one is "Finding Distance from object to the camera using a single camera", and few other

Finding Distance using a single camera

First all utilizing python module named OpenCV-python, to detect a face, named haar cascade classifier, which simply provides the right-top most coordinate and with and height of the face, object detection part is done, I want to keep this simple and easy, the advantage of face detection is really simple easy, but the downside is that the bounding box is not stable, width and height of bonding box constantly changing, which leads to a bit of accuracy lose in the distance, estimation, since the algorithm depends upon width or height of the object(face)

The Requirements:

  • Python and one module Opencv
  • You need a Reference image(calibrated image)
  • Measure the width or height of the object in real in the calibrated image
  • Find the width or height of the object in pixels, in the calibrated image

here is GitHub Repository

Here is a youtube video that explains things in great detail.

Face Following Robot using Distance Estimation

This chassis Robot, which follows the face based position of the face in the frame and for depth perception it uses distance estimation, to find out how far the face, based on the distance it decides it has to move forward or back, for left and right movement it tracks the face position in the frame, decides on that.

Hardware Required

NameItems
chassis robot1
Dc Motors4
Arduino2
NRF24L012
L298 Motor Dirver1
Power Supply 12 Volts1
RGB LED1 optional
jumper Wires40+
breadboard Half(size)1 or 2

here is GitHub Repository

here is a youtube video Tutorial for that.

Eyes Tracking

The computer vision project in which the eyes position estimate, where the eyes are looking at using image processing Techniques, accurately estimates each eye, right, centre and left position.

This project has been with two different modules of, one is dilb and other is MediaPipe alongside OpenCV, the dilb one quite slower, on fps, another downside is the installation of dilb on windows machine quite tricky that why I decided to redo this project with mediapipe, which provides improve frame rate, and it really easy to install.

You will find Video Tutorial links on the Github repository

here is GitHub Repository for Mediapipe

here is Github Repository for Dlib

Generate QR code with Face in it.

Here the QR code has been generated with the QRCODE python module, then the face has been detected in provided input image for a logo, simple mask that faces in a circle, places the face in the centre of the QR code, without affecting the QR code decoding.

here is the Github Repository

These are projects that I have done so far, which publically available on Github repositories

ย