SlideShare a Scribd company logo
1 of 30
Monday, May 4, 2015
• Problem Definition
• Project Overview
• Introduction to Java Application
• Introduction to Robot System
• Introduction to Image Processing
• Stepwise Procedure Of Entire Project Run.
• Java Application Details
• Robot System Details
• Image Processing Details
• Experimental Run
• Conclusion
Mine Detection
System
Robot System Java Application
Image
Processing
• Project divided into 3 different parts based on work background required.
• It includes :
• Robot System with Atmega Microcontroller System
• Java Application providing User Interface
• Image Processing used for Self Alignment And Obstacle Avoidance Of Robot.
Robot SystemServer Computer
Net Beans
Application
Image
Processing Open
CV
Motor Driving Circuitry
Server Side XBEE Pro Module On Board XBEE Pro Module
Microcontroller Circuit
On Board Camera
User
Serial Transmission
UART Channel
• Proves to be User Interface for entire System.
• Provides Real Time mapping of robot system (communication through
RS232 – Serial transmission ).
• Provides operational functionality such as
1. Start Of Mining Sweeping Robot System
2. Start Of On Board Camera Input for Image Processing.
3. Abort Of Mission
4. Pause Of Mission.
• Provides Database storage facility.
• Java Net Beans IDE 7.0
• MySql
• XBEE CTU application.
• Autonomous Inbuilt Code
• Features on board processing with Atmega microcontroller for
execution of process and development of Virtual Grid for traversal.
• Motor Driving Circuitry ( L298 )
• Wireless Communication to / from Server Computer (Java App. And
Image Processing ) through XBEE Pro module Serial UART transmission.
• Wireless On Board Camera
• BASCOM AVR 1.11.0 IDE
• AVRDude / SinaProg Hex Downloader
• XBEE CTU application.
• Robot Base (30 *25)
• Motors ,Batteries
• M/c Circuit , Motor Circuitry, XBEE
module
• Contouring Image Frame.
• Object Segmentation of Surrounding.
• Optical Flow
• Focus Of Expansion Of Flow Vectors.
• Time To Contact Calculation for Obstacle Avoidance.
• Suitable Object Capture for Self Alignment Code ( Object Tracking ).
• Visual Studio 2010 Visual C++
• OpenCV 2.1.0 Library
• XBEE CTU application.
Step by Step description of the Entire Process
Robot SystemServer Computer
Net Beans
Application
Image
Processing Open
CV
Motor Driving Circuitry
Server Side XBEE Pro Module On Board XBEE Pro Module
Microcontroller
On Board Camera
User
Serial Transmission
UART Channel
STEP 1 COMMUNICATION WITH M/C
Robot SystemServer Computer
Net Beans
Application
Image
Processing Open
CV
Motor Driving Circuitry
Server Side XBEE Pro Module On Board XBEE Pro Module
Microcontroller
On Board Camera
User
Serial Transmission
UART Channel
STEP 2 COMMUNICATION WITH CAMERA
1. Class javax.comm is imported to use the built in function for serial communication.
2. Connection will be established using inbuilt function
CommPortIdebtifier.getPortidentifiers();
3. serialPort.setSerialPortParams are used to set the baud rate databits,stopbits etc.
4. outputStream.write(messageString.getBytes()) is used to write and
numBytes = inputStream.read(readBuffer) is used to read.
5. W
A D
S
6. serialPort.close() is used to close the connection.
• Database of mine detection will be stored on the server .
• Database - MySql
• Data will be stored in two tables as follows:
1. Place table:
2. Mine table:
3.Linking table
Place no: Place length breadth
Mine no X co-ordinate Y co-ordinate Updated Date Updated Time Count
Place no: Mine no:
Bot Prototype
CONTOURING IMAGE FRAME
GRAYSCALE IMAGE CANNY EDGE DETECTION
1. Gaussian Filter
2. Laplacian Filter
3. Sobel Filter
CANNY EDGE DETECTION ZERO CROSSING FILTER
CONTOURING IMAGE FRAME
Image After Zero Crossing Filter Polygon Contoured Image
CONTOURING IMAGE FRAME
OBJECT SEGMENTATION
INPUT IMAGE WATERSHED SEGMENTATION
The task of segmentation is to break up an image into a series of
regions which correspond uniquely to objects. There are various
methods available to perform segmentation.
• Contouring the image and then flood fill the contoured object.
Watershed segmentation
• Grab Cut segmentation
INPUT IMAGE
FOREGROUND BACKGROUND MODEL
OUTPUT IMAGE
Grab Cut Segmentation
OPTICAL FLOW
• Obtain Contoured Image
• Get Best Features OF frame from first Image Capture ( Lucas Kanade )
• Plot these points on first image ( p1 )
• Perform pyramidal subtraction on depth of the image.
• Draw points on new image frame. ( p2 )
• Draw Flow Vector from p2 to p1 depicting change in motion.
SUBTRACTION OF FRAMESINITIAL FRAME
NEXT FRAME OPTICAL FLOW VECTORS
STILL IMAGE VECTORS
MOVING IMAGE VECTORS
BOUNDING BOX
LENGTH OF SEGMENTED OBJECT COMPARISON METHOD
• The midpoint of an object is found and a line is drawn from the midpoint to the
(minx,miny) point of the object.
• The length of this line of the object increases as the object comes closer to the camera.
• In every new frame the new length is compared to the length of the object in the initial
frame.
• Tracing multiple objects is easy.
SELF GENERATED ROBOT ALGORITHM
• Virtual Grid Mapping Through X Y co-ordinate mapping. Mapping of input Length
and Breadth into 10*10 (x*y) grid.
• Sending back of Mine Locations and its own positioning through UART channel to
Server.
• Knowing Of Robot Positioning at all times through Direction Bit O .
W / 2
S / 0
A /1 D / 3
• The Robot will never get ‘ lost’ and always remains with the Virtual Grid (Example
illustrated ahead) .
VIRTUAL GRID MAPPING
OBSTACLE AVOIDANCE
USING IMAGE
PROCESSING
ROBOT SELF GENERATED
LOGIC TO REMAIN
WITHIN GRID
MERGER OF TWO MODULES
200 X 200 UNITS
O=2
O= 3 / 1
O= 0
O= 3
O= 0 2
0
1 3
Still Remains Within Virtual Grid
REFERENCES
•Optical Flow - Lucas Kanade, Horn Schunck
•Learning OpenCV –Computer Vision
•Segmentation Using Optical Flow – Christoper Goring
•Real Time Quantized Optical Flow – Camus
•Zero Crossings- Marr
•Optical Flow With Stereo Navigation – Stavens
•REU Programs – Cynthia Atherton
•Intelligent Object Extraction – Paul Andre
•Atmega 128 , Xbee Pro , L298 Datasheets
•Optical Flow Estimation – Weiss
•Simultaneous Matting and Composing – Yang
•www.sourceforge.net
•www.wikipedia.com
•www.stackoverflow.com
•www.opencv.wiki.com
•www.youtube.com
•www.codeproject.com
•www.msdn.microsoft.com

More Related Content

What's hot

Automatic Dense Semantic Mapping From Visual Street-level Imagery
Automatic Dense Semantic Mapping From Visual Street-level ImageryAutomatic Dense Semantic Mapping From Visual Street-level Imagery
Automatic Dense Semantic Mapping From Visual Street-level ImagerySunando Sengupta
 
SIGGRAPH 2014 Course on Computational Cameras and Displays (part 4)
SIGGRAPH 2014 Course on Computational Cameras and Displays (part 4)SIGGRAPH 2014 Course on Computational Cameras and Displays (part 4)
SIGGRAPH 2014 Course on Computational Cameras and Displays (part 4)Matthew O'Toole
 
SIGGRAPH 2014 Course on Computational Cameras and Displays (part 3)
SIGGRAPH 2014 Course on Computational Cameras and Displays (part 3)SIGGRAPH 2014 Course on Computational Cameras and Displays (part 3)
SIGGRAPH 2014 Course on Computational Cameras and Displays (part 3)Matthew O'Toole
 
MIRU2016 invited talk - Recovering Transparent Shape from Time-of-Flight Dist...
MIRU2016 invited talk - Recovering Transparent Shape from Time-of-Flight Dist...MIRU2016 invited talk - Recovering Transparent Shape from Time-of-Flight Dist...
MIRU2016 invited talk - Recovering Transparent Shape from Time-of-Flight Dist...Kenichiro Tanaka
 
Scratch to Supercomputers: Bottoms-up Build of Large-scale Computational Lens...
Scratch to Supercomputers: Bottoms-up Build of Large-scale Computational Lens...Scratch to Supercomputers: Bottoms-up Build of Large-scale Computational Lens...
Scratch to Supercomputers: Bottoms-up Build of Large-scale Computational Lens...inside-BigData.com
 
Build Your Own 3D Scanner: Course Notes
Build Your Own 3D Scanner: Course NotesBuild Your Own 3D Scanner: Course Notes
Build Your Own 3D Scanner: Course NotesDouglas Lanman
 
Reading group - Week 2 - Trajectory Pooled Deep-Convolutional Descriptors (TDD)
Reading group - Week 2 - Trajectory Pooled Deep-Convolutional Descriptors (TDD)Reading group - Week 2 - Trajectory Pooled Deep-Convolutional Descriptors (TDD)
Reading group - Week 2 - Trajectory Pooled Deep-Convolutional Descriptors (TDD)Saimunur Rahman
 
3D SLAM introcution& current status
3D SLAM introcution& current status3D SLAM introcution& current status
3D SLAM introcution& current statuse8xu
 
Photogrammetry: A Quick Primer
Photogrammetry: A Quick PrimerPhotogrammetry: A Quick Primer
Photogrammetry: A Quick PrimerAshley M. Richter
 
NetVLAD: CNN architecture for weakly supervised place recognition
NetVLAD:  CNN architecture for weakly supervised place recognitionNetVLAD:  CNN architecture for weakly supervised place recognition
NetVLAD: CNN architecture for weakly supervised place recognitionGeunhee Cho
 
Implementing a modern, RenderMan compliant, REYES renderer
Implementing a modern, RenderMan compliant, REYES rendererImplementing a modern, RenderMan compliant, REYES renderer
Implementing a modern, RenderMan compliant, REYES rendererDavide Pasca
 
VSlam 2017 11_20(張閎智)
VSlam 2017 11_20(張閎智)VSlam 2017 11_20(張閎智)
VSlam 2017 11_20(張閎智)Hung-Chih Chang
 
Visual odometry & slam utilizing indoor structured environments
Visual odometry & slam utilizing indoor structured environmentsVisual odometry & slam utilizing indoor structured environments
Visual odometry & slam utilizing indoor structured environmentsNAVER Engineering
 
Image Classification and Retrieval logic
Image Classification and Retrieval logicImage Classification and Retrieval logic
Image Classification and Retrieval logicGianvito Siciliano
 
Feature pyramid networks for object detection
Feature pyramid networks for object detection Feature pyramid networks for object detection
Feature pyramid networks for object detection heedaeKwon
 
Calibration Issues in FRC: Camera, Projector, Kinematics based Hybrid Approac...
Calibration Issues in FRC: Camera, Projector, Kinematics based Hybrid Approac...Calibration Issues in FRC: Camera, Projector, Kinematics based Hybrid Approac...
Calibration Issues in FRC: Camera, Projector, Kinematics based Hybrid Approac...Joo-Haeng Lee
 
Report bep thomas_blanken
Report bep thomas_blankenReport bep thomas_blanken
Report bep thomas_blankenxepost
 
Seismic QC & Filtering with Geostatistics
Seismic QC & Filtering with GeostatisticsSeismic QC & Filtering with Geostatistics
Seismic QC & Filtering with GeostatisticsGeovariances
 

What's hot (20)

Automatic Dense Semantic Mapping From Visual Street-level Imagery
Automatic Dense Semantic Mapping From Visual Street-level ImageryAutomatic Dense Semantic Mapping From Visual Street-level Imagery
Automatic Dense Semantic Mapping From Visual Street-level Imagery
 
SIGGRAPH 2014 Course on Computational Cameras and Displays (part 4)
SIGGRAPH 2014 Course on Computational Cameras and Displays (part 4)SIGGRAPH 2014 Course on Computational Cameras and Displays (part 4)
SIGGRAPH 2014 Course on Computational Cameras and Displays (part 4)
 
SIGGRAPH 2014 Course on Computational Cameras and Displays (part 3)
SIGGRAPH 2014 Course on Computational Cameras and Displays (part 3)SIGGRAPH 2014 Course on Computational Cameras and Displays (part 3)
SIGGRAPH 2014 Course on Computational Cameras and Displays (part 3)
 
Background Subtraction Based on Phase and Distance Transform Under Sudden Ill...
Background Subtraction Based on Phase and Distance Transform Under Sudden Ill...Background Subtraction Based on Phase and Distance Transform Under Sudden Ill...
Background Subtraction Based on Phase and Distance Transform Under Sudden Ill...
 
MIRU2016 invited talk - Recovering Transparent Shape from Time-of-Flight Dist...
MIRU2016 invited talk - Recovering Transparent Shape from Time-of-Flight Dist...MIRU2016 invited talk - Recovering Transparent Shape from Time-of-Flight Dist...
MIRU2016 invited talk - Recovering Transparent Shape from Time-of-Flight Dist...
 
Scratch to Supercomputers: Bottoms-up Build of Large-scale Computational Lens...
Scratch to Supercomputers: Bottoms-up Build of Large-scale Computational Lens...Scratch to Supercomputers: Bottoms-up Build of Large-scale Computational Lens...
Scratch to Supercomputers: Bottoms-up Build of Large-scale Computational Lens...
 
Build Your Own 3D Scanner: Course Notes
Build Your Own 3D Scanner: Course NotesBuild Your Own 3D Scanner: Course Notes
Build Your Own 3D Scanner: Course Notes
 
Background subtraction
Background subtractionBackground subtraction
Background subtraction
 
Reading group - Week 2 - Trajectory Pooled Deep-Convolutional Descriptors (TDD)
Reading group - Week 2 - Trajectory Pooled Deep-Convolutional Descriptors (TDD)Reading group - Week 2 - Trajectory Pooled Deep-Convolutional Descriptors (TDD)
Reading group - Week 2 - Trajectory Pooled Deep-Convolutional Descriptors (TDD)
 
3D SLAM introcution& current status
3D SLAM introcution& current status3D SLAM introcution& current status
3D SLAM introcution& current status
 
Photogrammetry: A Quick Primer
Photogrammetry: A Quick PrimerPhotogrammetry: A Quick Primer
Photogrammetry: A Quick Primer
 
NetVLAD: CNN architecture for weakly supervised place recognition
NetVLAD:  CNN architecture for weakly supervised place recognitionNetVLAD:  CNN architecture for weakly supervised place recognition
NetVLAD: CNN architecture for weakly supervised place recognition
 
Implementing a modern, RenderMan compliant, REYES renderer
Implementing a modern, RenderMan compliant, REYES rendererImplementing a modern, RenderMan compliant, REYES renderer
Implementing a modern, RenderMan compliant, REYES renderer
 
VSlam 2017 11_20(張閎智)
VSlam 2017 11_20(張閎智)VSlam 2017 11_20(張閎智)
VSlam 2017 11_20(張閎智)
 
Visual odometry & slam utilizing indoor structured environments
Visual odometry & slam utilizing indoor structured environmentsVisual odometry & slam utilizing indoor structured environments
Visual odometry & slam utilizing indoor structured environments
 
Image Classification and Retrieval logic
Image Classification and Retrieval logicImage Classification and Retrieval logic
Image Classification and Retrieval logic
 
Feature pyramid networks for object detection
Feature pyramid networks for object detection Feature pyramid networks for object detection
Feature pyramid networks for object detection
 
Calibration Issues in FRC: Camera, Projector, Kinematics based Hybrid Approac...
Calibration Issues in FRC: Camera, Projector, Kinematics based Hybrid Approac...Calibration Issues in FRC: Camera, Projector, Kinematics based Hybrid Approac...
Calibration Issues in FRC: Camera, Projector, Kinematics based Hybrid Approac...
 
Report bep thomas_blanken
Report bep thomas_blankenReport bep thomas_blanken
Report bep thomas_blanken
 
Seismic QC & Filtering with Geostatistics
Seismic QC & Filtering with GeostatisticsSeismic QC & Filtering with Geostatistics
Seismic QC & Filtering with Geostatistics
 

Similar to Sem 2 Presentation

“Understanding DNN-Based Object Detectors,” a Presentation from Au-Zone Techn...
“Understanding DNN-Based Object Detectors,” a Presentation from Au-Zone Techn...“Understanding DNN-Based Object Detectors,” a Presentation from Au-Zone Techn...
“Understanding DNN-Based Object Detectors,” a Presentation from Au-Zone Techn...Edge AI and Vision Alliance
 
Computer Vision Landscape : Present and Future
Computer Vision Landscape : Present and FutureComputer Vision Landscape : Present and Future
Computer Vision Landscape : Present and FutureSanghamitra Deb
 
“Understanding, Selecting and Optimizing Object Detectors for Edge Applicatio...
“Understanding, Selecting and Optimizing Object Detectors for Edge Applicatio...“Understanding, Selecting and Optimizing Object Detectors for Edge Applicatio...
“Understanding, Selecting and Optimizing Object Detectors for Edge Applicatio...Edge AI and Vision Alliance
 
Intro_OpenCV.ppt
Intro_OpenCV.pptIntro_OpenCV.ppt
Intro_OpenCV.pptRithikRaj25
 
Elevation mapping using stereo vision enabled heterogeneous multi-agent robot...
Elevation mapping using stereo vision enabled heterogeneous multi-agent robot...Elevation mapping using stereo vision enabled heterogeneous multi-agent robot...
Elevation mapping using stereo vision enabled heterogeneous multi-agent robot...Aritra Sarkar
 
Bonn motion, traffic generation and nam
Bonn motion, traffic generation and namBonn motion, traffic generation and nam
Bonn motion, traffic generation and namManas Gaur
 
74 real time-image-processing-applied-to-traffic-queue-d
74 real time-image-processing-applied-to-traffic-queue-d74 real time-image-processing-applied-to-traffic-queue-d
74 real time-image-processing-applied-to-traffic-queue-dravi247272
 
Mainprojpresentation 150617092611-lva1-app6892
Mainprojpresentation 150617092611-lva1-app6892Mainprojpresentation 150617092611-lva1-app6892
Mainprojpresentation 150617092611-lva1-app6892ANJANA ANILKUMAR
 
pick and place robotic arm
pick and place robotic armpick and place robotic arm
pick and place robotic armANJANA ANILKUMAR
 
"3D from 2D: Theory, Implementation, and Applications of Structure from Motio...
"3D from 2D: Theory, Implementation, and Applications of Structure from Motio..."3D from 2D: Theory, Implementation, and Applications of Structure from Motio...
"3D from 2D: Theory, Implementation, and Applications of Structure from Motio...Edge AI and Vision Alliance
 
Real Time Object Dectection using machine learning
Real Time Object Dectection using machine learningReal Time Object Dectection using machine learning
Real Time Object Dectection using machine learningpratik pratyay
 
Quantum Computing and Qiskit
Quantum Computing and QiskitQuantum Computing and Qiskit
Quantum Computing and QiskitPooja Mistry
 
DepthInsight Geoscience Geomodeling Software Technology Introduction
DepthInsight Geoscience Geomodeling Software Technology IntroductionDepthInsight Geoscience Geomodeling Software Technology Introduction
DepthInsight Geoscience Geomodeling Software Technology IntroductionBo Sun
 

Similar to Sem 2 Presentation (20)

Luigy Bertaglia Bortolo - Poster Final
Luigy Bertaglia Bortolo - Poster FinalLuigy Bertaglia Bortolo - Poster Final
Luigy Bertaglia Bortolo - Poster Final
 
“Understanding DNN-Based Object Detectors,” a Presentation from Au-Zone Techn...
“Understanding DNN-Based Object Detectors,” a Presentation from Au-Zone Techn...“Understanding DNN-Based Object Detectors,” a Presentation from Au-Zone Techn...
“Understanding DNN-Based Object Detectors,” a Presentation from Au-Zone Techn...
 
Computer Vision Landscape : Present and Future
Computer Vision Landscape : Present and FutureComputer Vision Landscape : Present and Future
Computer Vision Landscape : Present and Future
 
FinalPoster
FinalPosterFinalPoster
FinalPoster
 
“Understanding, Selecting and Optimizing Object Detectors for Edge Applicatio...
“Understanding, Selecting and Optimizing Object Detectors for Edge Applicatio...“Understanding, Selecting and Optimizing Object Detectors for Edge Applicatio...
“Understanding, Selecting and Optimizing Object Detectors for Edge Applicatio...
 
Computer Vision Workshop
Computer Vision WorkshopComputer Vision Workshop
Computer Vision Workshop
 
Intro_OpenCV.ppt
Intro_OpenCV.pptIntro_OpenCV.ppt
Intro_OpenCV.ppt
 
Computer Vision Introduction
Computer Vision IntroductionComputer Vision Introduction
Computer Vision Introduction
 
Elevation mapping using stereo vision enabled heterogeneous multi-agent robot...
Elevation mapping using stereo vision enabled heterogeneous multi-agent robot...Elevation mapping using stereo vision enabled heterogeneous multi-agent robot...
Elevation mapping using stereo vision enabled heterogeneous multi-agent robot...
 
Bonn motion, traffic generation and nam
Bonn motion, traffic generation and namBonn motion, traffic generation and nam
Bonn motion, traffic generation and nam
 
74 real time-image-processing-applied-to-traffic-queue-d
74 real time-image-processing-applied-to-traffic-queue-d74 real time-image-processing-applied-to-traffic-queue-d
74 real time-image-processing-applied-to-traffic-queue-d
 
Mainprojpresentation 150617092611-lva1-app6892
Mainprojpresentation 150617092611-lva1-app6892Mainprojpresentation 150617092611-lva1-app6892
Mainprojpresentation 150617092611-lva1-app6892
 
pick and place robotic arm
pick and place robotic armpick and place robotic arm
pick and place robotic arm
 
slide-171212080528.pptx
slide-171212080528.pptxslide-171212080528.pptx
slide-171212080528.pptx
 
"3D from 2D: Theory, Implementation, and Applications of Structure from Motio...
"3D from 2D: Theory, Implementation, and Applications of Structure from Motio..."3D from 2D: Theory, Implementation, and Applications of Structure from Motio...
"3D from 2D: Theory, Implementation, and Applications of Structure from Motio...
 
Real Time Object Dectection using machine learning
Real Time Object Dectection using machine learningReal Time Object Dectection using machine learning
Real Time Object Dectection using machine learning
 
IMAGE PROCESSING
IMAGE PROCESSINGIMAGE PROCESSING
IMAGE PROCESSING
 
Quantum Computing and Qiskit
Quantum Computing and QiskitQuantum Computing and Qiskit
Quantum Computing and Qiskit
 
thesis
thesisthesis
thesis
 
DepthInsight Geoscience Geomodeling Software Technology Introduction
DepthInsight Geoscience Geomodeling Software Technology IntroductionDepthInsight Geoscience Geomodeling Software Technology Introduction
DepthInsight Geoscience Geomodeling Software Technology Introduction
 

Sem 2 Presentation

  • 2. • Problem Definition • Project Overview • Introduction to Java Application • Introduction to Robot System • Introduction to Image Processing • Stepwise Procedure Of Entire Project Run. • Java Application Details • Robot System Details • Image Processing Details • Experimental Run • Conclusion
  • 3.
  • 4. Mine Detection System Robot System Java Application Image Processing • Project divided into 3 different parts based on work background required. • It includes : • Robot System with Atmega Microcontroller System • Java Application providing User Interface • Image Processing used for Self Alignment And Obstacle Avoidance Of Robot.
  • 5. Robot SystemServer Computer Net Beans Application Image Processing Open CV Motor Driving Circuitry Server Side XBEE Pro Module On Board XBEE Pro Module Microcontroller Circuit On Board Camera User Serial Transmission UART Channel
  • 6. • Proves to be User Interface for entire System. • Provides Real Time mapping of robot system (communication through RS232 – Serial transmission ). • Provides operational functionality such as 1. Start Of Mining Sweeping Robot System 2. Start Of On Board Camera Input for Image Processing. 3. Abort Of Mission 4. Pause Of Mission. • Provides Database storage facility. • Java Net Beans IDE 7.0 • MySql • XBEE CTU application.
  • 7. • Autonomous Inbuilt Code • Features on board processing with Atmega microcontroller for execution of process and development of Virtual Grid for traversal. • Motor Driving Circuitry ( L298 ) • Wireless Communication to / from Server Computer (Java App. And Image Processing ) through XBEE Pro module Serial UART transmission. • Wireless On Board Camera • BASCOM AVR 1.11.0 IDE • AVRDude / SinaProg Hex Downloader • XBEE CTU application. • Robot Base (30 *25) • Motors ,Batteries • M/c Circuit , Motor Circuitry, XBEE module
  • 8. • Contouring Image Frame. • Object Segmentation of Surrounding. • Optical Flow • Focus Of Expansion Of Flow Vectors. • Time To Contact Calculation for Obstacle Avoidance. • Suitable Object Capture for Self Alignment Code ( Object Tracking ). • Visual Studio 2010 Visual C++ • OpenCV 2.1.0 Library • XBEE CTU application.
  • 9. Step by Step description of the Entire Process
  • 10. Robot SystemServer Computer Net Beans Application Image Processing Open CV Motor Driving Circuitry Server Side XBEE Pro Module On Board XBEE Pro Module Microcontroller On Board Camera User Serial Transmission UART Channel STEP 1 COMMUNICATION WITH M/C
  • 11. Robot SystemServer Computer Net Beans Application Image Processing Open CV Motor Driving Circuitry Server Side XBEE Pro Module On Board XBEE Pro Module Microcontroller On Board Camera User Serial Transmission UART Channel STEP 2 COMMUNICATION WITH CAMERA
  • 12.
  • 13.
  • 14. 1. Class javax.comm is imported to use the built in function for serial communication. 2. Connection will be established using inbuilt function CommPortIdebtifier.getPortidentifiers(); 3. serialPort.setSerialPortParams are used to set the baud rate databits,stopbits etc. 4. outputStream.write(messageString.getBytes()) is used to write and numBytes = inputStream.read(readBuffer) is used to read. 5. W A D S 6. serialPort.close() is used to close the connection.
  • 15. • Database of mine detection will be stored on the server . • Database - MySql • Data will be stored in two tables as follows: 1. Place table: 2. Mine table: 3.Linking table Place no: Place length breadth Mine no X co-ordinate Y co-ordinate Updated Date Updated Time Count Place no: Mine no:
  • 16.
  • 18. CONTOURING IMAGE FRAME GRAYSCALE IMAGE CANNY EDGE DETECTION 1. Gaussian Filter 2. Laplacian Filter 3. Sobel Filter
  • 19. CANNY EDGE DETECTION ZERO CROSSING FILTER CONTOURING IMAGE FRAME
  • 20. Image After Zero Crossing Filter Polygon Contoured Image CONTOURING IMAGE FRAME
  • 21. OBJECT SEGMENTATION INPUT IMAGE WATERSHED SEGMENTATION The task of segmentation is to break up an image into a series of regions which correspond uniquely to objects. There are various methods available to perform segmentation. • Contouring the image and then flood fill the contoured object. Watershed segmentation • Grab Cut segmentation
  • 22. INPUT IMAGE FOREGROUND BACKGROUND MODEL OUTPUT IMAGE Grab Cut Segmentation
  • 23. OPTICAL FLOW • Obtain Contoured Image • Get Best Features OF frame from first Image Capture ( Lucas Kanade ) • Plot these points on first image ( p1 ) • Perform pyramidal subtraction on depth of the image. • Draw points on new image frame. ( p2 ) • Draw Flow Vector from p2 to p1 depicting change in motion.
  • 24. SUBTRACTION OF FRAMESINITIAL FRAME NEXT FRAME OPTICAL FLOW VECTORS
  • 25. STILL IMAGE VECTORS MOVING IMAGE VECTORS BOUNDING BOX
  • 26. LENGTH OF SEGMENTED OBJECT COMPARISON METHOD • The midpoint of an object is found and a line is drawn from the midpoint to the (minx,miny) point of the object. • The length of this line of the object increases as the object comes closer to the camera. • In every new frame the new length is compared to the length of the object in the initial frame. • Tracing multiple objects is easy.
  • 27. SELF GENERATED ROBOT ALGORITHM • Virtual Grid Mapping Through X Y co-ordinate mapping. Mapping of input Length and Breadth into 10*10 (x*y) grid. • Sending back of Mine Locations and its own positioning through UART channel to Server. • Knowing Of Robot Positioning at all times through Direction Bit O . W / 2 S / 0 A /1 D / 3 • The Robot will never get ‘ lost’ and always remains with the Virtual Grid (Example illustrated ahead) .
  • 28. VIRTUAL GRID MAPPING OBSTACLE AVOIDANCE USING IMAGE PROCESSING ROBOT SELF GENERATED LOGIC TO REMAIN WITHIN GRID MERGER OF TWO MODULES
  • 29. 200 X 200 UNITS O=2 O= 3 / 1 O= 0 O= 3 O= 0 2 0 1 3 Still Remains Within Virtual Grid
  • 30. REFERENCES •Optical Flow - Lucas Kanade, Horn Schunck •Learning OpenCV –Computer Vision •Segmentation Using Optical Flow – Christoper Goring •Real Time Quantized Optical Flow – Camus •Zero Crossings- Marr •Optical Flow With Stereo Navigation – Stavens •REU Programs – Cynthia Atherton •Intelligent Object Extraction – Paul Andre •Atmega 128 , Xbee Pro , L298 Datasheets •Optical Flow Estimation – Weiss •Simultaneous Matting and Composing – Yang •www.sourceforge.net •www.wikipedia.com •www.stackoverflow.com •www.opencv.wiki.com •www.youtube.com •www.codeproject.com •www.msdn.microsoft.com