Git Product home page Git Product logo

butler-bot's Introduction

Butler-Bot

Abstract:

The aim of this project is basically to interface the computer vision with the present day robotics. Butler bot locates object by finding its coordinates with the help of camera and then place it at position specified.

Applications:

It can be used in industry production to assemble product components or product itself at a specified location.

Hardware:

  • Mechanical

  • 2 standard wheel

    • 1 castor wheel
    • 2 DC Motors
    • Steel Foil and Servo Motor (to pick object)
  • Electronics

    • 1 Uno Arduino
    • 5V Voltage Regulator (to give power to Arduino and servo motor)
    • Motor Driver L298
    • Bluetooth

Softwares:

  • Matlab
  • Arduino IDE

Algorithms and Strategy:

  • We detect object and bot on the basis of the color of dots made on them and find their coordinates w.r.t. the corner of rectangle made by four dots on arena. Bot reaches object by moving on straight path between them by using PID (Proportional-Integral-Derivative) and then it align itself to the object so that it can be lifted and then it identifies the number printed on it with the camera placed in the front of bot and then places it on its designated place.

    • Coordinate System Transformation: We know coordinate of any point wrt image coordinate system. Now, we have to transform to world coordinate system. Let A, B, C and D are four points which defines our coordinate system and we know its coordinate wrt image coordinate system. Using equation of line AB, BC, CD and AD we can find out E and F and using point P, E and F we can find out P1 and P2. Let P1 and P2 intersect line AB and BC in the ratio of m1:n1 and m2:n2. Now, we know length of AB and BC in world coordinate system (say ABw and BCw). Also assume BP1 and BP2 in world coordinate system BP1w and BP2w. So, BP1w = (m1÷(m1+n1))xABw BP2w = (m2÷(m2+n2))xBCw

    alt text

    • Number Recognition: In Matlab every image is processed as a matrix. First Matlab is made to learn all the numbers from 0 to 9. Then the image which has to be tested is captured by the camera on the bot and is then converted to a matrix by Matlab. This matrix is multiplied by the all the matrices of numbers which have been pre stored by Matlab and all the elements of the matrix are then added. The pre stored matrix which gives the highest sum is the number captured initially.
    • Color Detection and differentiation: To differentiate between different colors the RGB values are used.
    • Vectors: To get the required trajectory of the bot, the rotation angle and directions, we used vectors for simplicity.

Room for Improvement:

Object detection method can be generalized rather than just by using pattern. The model of bot can be made more stable.

Some Clicks:

alt text

butler-bot's People

Contributors

nikhil1198 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.