Many of you might have seen the movie Lord of the Rings, and have been fascinated with the all seeing eye of Sauron. Following the fascination with a technological viewpoint, we plan on realizing the same using basic electronic components.

Following a person wherever they go, a haunting eye is to be installed in ArIES so as to make the place more interactive and a fun place. Using a camera to detect the faces of the people in a camera frame, and then using a microcontroller for actuating the motors in order to move around the camera (or pseudo eyes) rendering a feeling of being watched all the time :P

Detecting Faces

Machine learning can be used to detect the basic features of a face and predict its presence in a picture. The following picture gives you a crude idea wherein the model is first trying to identify the individual features of a face like two eyes, a nose, lips etc and then summing up the information received to say this image contains a face in this region. This can also be done using pretrained models available in OpenCV.

Refer to the following link to get basic hands on experience in using OpenCV.

Microcontrollers

ARDUINO
Arduino is an open-source platform used for building electronic projects. It consists of both, a physically programmable circuit (or microcontroller) and an application that runs on your PCs (IDE) which is used to upload a piece of code onto the microcontroller. All one needs to do is simply write up a piece of code, connect the microcontroller with your PC using a USB cable and you are good to go.

Raspberry Pi
Raspberry Pi is a small single board computer originally designed to help in prototyping of various projects and educational purposes. This credit card sized computer has been adopted by electronic enthusiasts who require much more processing than a basic microcontroller (like Arduino) along with its functionality of being used as an embedded system.

The following is an outstanding blog to get started with Arduino and Raspberry Pi.

Motors

DC Motors
A DC motor is provided with 2 inputs, a power and a ground pin, which rotates continuously on supplying power, until the power is detached. The speed of rotation of a DC motor can be controlled by PWM(pulse width modulation) thus enabling them to be used in tools, toys, appliances etc. examples are: fans being used in computers for cooling or car wheels controlled by a radio.

Servo Motor
A servo motor is a rotary/ linear actuator which is similar to a DC motor except for the fact that you can precisely control the amount of rotation of the motor along with its speed of rotation. It basically consists of 3 pins, a power, a ground and a control pin. The motor is continuously supplied with power with the servo motor control circuit changing the draw to drive the servo motor. They are used for applications like moving a robotic arm or controlling a rudder on a boat.

For more information regarding motors, you can visit this website.

)

Artificial Intelligence And Electronics Society

Written by

Artificial Intelligence and Electronics Society (ArIES) is a campus group of IIT Roorkee, with a mission to solve impactful problems of society .

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade