Posts

Lane Detection

Image
In a nutshell, I’ve taken the following steps to accomplish this: Correct for Camera Distortion Filter Lane Pixels Get the“Sky View” Fit the “Best-Fit” Curve Project the Lane back to the “Vehicle-View” Image 1. CAMERA CALIBRATION Because of the physical properties of a camera lens, the captured two-dimensional image isn’t perfect. There are image distortions that change the apparent size and shape of an object. More importantly it makes some objects appear closer or farther away than they actually are. Fortunately, we can measure this distortions and correct them. We can extract all the distortion information we need by having pictures of objects which we know where the certain points should be theoretically. Commonly used are chessboards on a flat surface because chessboards have regular high contrast patterns. It’s easy to imagine what an undistorted chessboard looks like. 2. PERSPECTIVE TRANSFORMATION After having the image corrected, we’d have an undistorted image of a road from th...

Facial Expression Recogonition AWS

Image
  The project idea was implemented using OpenCV-Python and aws.rekognition The aim was to predict the facial expression features of the image or frame in a video. Requirements:  Python3 library: opencv-python  https://pypi.org/project/opencv-python/ AWS account Step 1:            Sign up an aws account and create iam user service (amazon rekogmition and amazon bucket s3) enabled.          Once created iam user account download credential.csv file and copy the file to your folder location.( Note don't share your credential to anyone ) Step 2:            write a  python program to capture the video using webcam.                        Read the credential file to your program and read  aws_access_key_id  and  aws_secret_access_key. with open ( "new_user_credentials.csv" , 'r' ) as input: next (...

Hand Gesture based Simple Jump unity game

Image
This game was developed using unity and python opencv using simple hand recognition using contour. To learn more on unity visit:                https://learn.unity.com/tutorials You  should know how to use Hand Gesture Recognition in this tutorial, as well as how to communicate and make use of the data generated by the Hand Gesture Recognition in order to control a player in your Unity game. Specifially, you’ll learn: Basics of communication protocols in Networking. What is OpenCV and some of its applications. How to install, set up and run the Python version of OpenCV on your system. How to send data to a specific port via Sockets in Python. How to read data from a Socket with the help of UDP Client in Unity. Setting Up Your Scene Open the  Main  scene inside the  Scenes  folder. You can create your own game my suggestion is watch Brackeys tutorial https://www.youtube.com/channel/UCYbK_tjZ2OrIZFBvU6CCMiA If you click...

Gender Age Facial prediction

Image
Gender Age Facial prediction The project idea was implemented using OpenCV-Python and aws. The aim was to predict the gender,age and other facial features of the image or frame in a video. Requirements:  Python3 library: opencv-python  https://pypi.org/project/opencv-python/ AWS account Step 1:            Sign up an aws account and create iam user service (amazon rekogmition and amazon bucket s3) enabled.          Once created iam user account download credential.csv file and copy the file to your folder location.( Note don't share your credential to anyone ) Step 2:            write a  python program to capture the video using webcam.                        Read the credential file to your program and read  aws_access_key_id  and aws_secret_access_key. with open ( "new_user_credentials.csv" , 'r' ) as in...