RGB colour detection and tracking on MATLAB

18
Dharmendra Savaliya(100230111012) Ravi Pambhar (100230111017) Ketan Sangani (100230111035) Raju Parmar (100230111037) Guided By :- Prof. Parul Madam http://www.bst4ever.blogspot.in

Transcript of RGB colour detection and tracking on MATLAB

Page 1: RGB colour detection and tracking on MATLAB

Dharmendra Savaliya(100230111012) Ravi Pambhar (100230111017) Ketan Sangani (100230111035) Raju Parmar (100230111037)

Guided By :- Prof. Parul Madam

http://www.bst4ever.blogspot.in

Page 2: RGB colour detection and tracking on MATLAB

Flowchart of Process

Software and hardware Require

Flowchart of Projects

Introduction to Arduino

Arduino IDE

ULN 2803 Motor driver

Video Processing Application

Page 3: RGB colour detection and tracking on MATLAB
Page 4: RGB colour detection and tracking on MATLAB

Noise Remove From Live Image

Page 5: RGB colour detection and tracking on MATLAB

Image Processing using MATLAB Tools used: Software: Matlab,arduino software Hardware * Arduino controller board * Serial Cable * Power Supply * Working Web cam mounted on a Robot Understanding the theory of: 1. Image Acquisition 2. Image Processing 3. Data Communication 4. Logic of the programme 5. Matlab programme 6. Arduino programme

Ball follower using MATLAB

Page 6: RGB colour detection and tracking on MATLAB

Flowchart Of Project Work

Page 7: RGB colour detection and tracking on MATLAB

It is Open Source, both in terms of Hardware and Software.

It is cheap, the hardware can be built from components.

It can communicate with a computer via serial connection over USB (Bluetooth model coming soon!).

It can be powered from USB or standalone DC power.

Page 8: RGB colour detection and tracking on MATLAB

Microcontroller ATmega8

Operating Voltage 5V

Input Voltage (limits) 6-20V

Digital I/O Pins 14

Analog Input Pins 6

Flash Memory 32 KB (ATmega8)

SRAM 2 KB (ATmega8)

EEPROM 1 KB (ATmega8)

Clock Speed 16 MHz

Page 9: RGB colour detection and tracking on MATLAB

Introduction Of Arduino Board

Sensors ( to sense stuff ) 1.Push buttons, 2. touch pads, 3.Variable resistors (eg. volume knob / sliders) 4.Photoresistors (sensing light levels) 5.Thermistors (temperature) 6.Ultrasound (proximity range finder)

Actuators ( to do stuff )

1.Lights, 2. LED’s 3.Motors 4.Speakers 5.Displays (LCD)

Page 10: RGB colour detection and tracking on MATLAB
Page 11: RGB colour detection and tracking on MATLAB

Relay Driver Applications 500-mA Rated Collector Current (Single Output) High-Voltage Outputs . . . 50 V Inputs Compatible With Various Types of Logic Compatible with ULN2800A Series description/ordering information The ULN2803A is a high-voltage, high-current Darlington transistor array. The device consists of eight npn Darlington pairs . The collector-current rating of each Darlington pair is 500 mA. The Darlington pairs may be connected in parallel for higher current capability.

Page 12: RGB colour detection and tracking on MATLAB
Page 13: RGB colour detection and tracking on MATLAB
Page 14: RGB colour detection and tracking on MATLAB

Video is sequence of images(frame).

We can process on frame of video one by one it’s call video processing.

Applications :-

In chemical industry for automation

Mouse controlling on desktop.

RGB Object counting, replacement in industries.

Video surveillance and recording.

Motion Detection in LIVE Video.

Edge detection and object monitering

Face Detection and Tracking in LIVE Video.

Page 15: RGB colour detection and tracking on MATLAB

Tracking

By doing vector math, and knowing the pixel to distance ratio, one can calculate the displacement, velocity, and acceleration of a moving blob.

Motion Detection

Motion detection works on the basis of frame differencing -meaning comparing how pixels -(usually blobs) change location - after each frame.

Page 16: RGB colour detection and tracking on MATLAB

Background Subtraction

capture two frames compare the pixel colors on each frame if the colors are the same, replace with the color white else, keep the new pixel.

Optical Flow

3D analysis, altitude measurement and velocity measurement.

Page 17: RGB colour detection and tracking on MATLAB

1. http://in.mathworks.com/matlabcentral/

2. http://arindambose.com/

Page 18: RGB colour detection and tracking on MATLAB