How to track line using webcam vision and move along it

Hi everyone,
I have a question which I can't really find any topic about it.
Currently, I had made my rover robot to be control wirelessly using a 3-Axis joystick and working perfectly.
But I would like to add some features to the vision system on board the rover.
I am trying to make the webcam to detect black line against white background and then it will just autonomously move along the the black line. 
The thing is I only know abit about vision setup.. So if any one out there able to guide me along the way? 
Do I use colour pattern matching or colour matching or pattern match?
How to I make sure the black line stays in the middle of the vision?(Eg. moving itself to centre the line within its vision)
How do I control the motors using the vision aquired from the above?
Message Edited by Shinra on 08-23-2009 10:06 PM
Solved!
Go to Solution.

Hey,
To your questions:
Do I use colour pattern matching or colour matching or pattern match?
Pattern Matching or Color Pattern Matching would be to slow.
I would use a Simple 1D Edge detection which returns the coordinates and angle of the edge.
How to I make sure the black line stays in the middle of the vision?(Eg. moving itself to centre the line within its vision)
You have to control your motors that e.g. the angle is 0 or 90 degrees (depending on your coordinate system) all the time.
How do I control the motors using the vision aquired from the above?
The manual of this robot should tell you how to control the motors.
Hope this helps,
Christian

Similar Messages

  • How to get line item net price and net value?

    I have using "BAPI_SALESORDER_SIMULATE" to SIMULATE to create SO,
    the return table
    ORDER_ITEMS_OUT-NET_VALUE is not equals than created by VA01 .
    how to get line item net price and net value?

    Hi,
    Can u elaborate ur query ?
    By this FM you cannot create a SO . Use FM --> BAPI_SALESORDER_CREATEFROMDAT2
    Regards,
    MAdhukar Shetty

  • Editing/adding track info for tv shows and movies in iTunes 12.1 for Mac.  Does anyone know how to do this?

    iTunes 12.1.0.50
    late 2012 iMac running OS X 10.10.2
    I can no longer edit or add the track information for tv shows and movies.  If, for example, there are 26 episodes of a tv show in a season and I want to edit their entries in iTunes to reflect 1 of 26, 2 of 26, 3 of 26, and so on, how do I do that?  With the 12.1 update, they took away the old info box.  Very irritating.

    JNLong2811 wrote:
    The use of the right clicking while holding down the Option key for the "old" info box worked through iTunes 12, but when 12.1 came out, that option went away.
    So edit the info with a proper tag editor (before you even add it to iTunes).
    Use -> MetaZ and/or -> Subler to edit movies/TV shows.

  • How can I make Use of PS and Ai (offer) in spite of running Windows Vista ?

    How can I make Use of PS and Ai (offer) in spite of running Windows Vista ?

    Once you have signed up, you could - in theory - choose "other version" under the icon on the CC website and install CS6, but I'm not sure if that works for this special offer or only for "full" CC. Anyway, it seems simple enough to upgrade to Win 7 or Win 8 and perhaps you were planning on starting fresh, anyway...
    Mylenium

  • In trying to edit a track - I want to "Delete and Move" the track to automatically fill the area that I deleted - However, after selecting a section to delete - the "Delete and Move" option is grayed out. How do I fix this?

    In trying to edit a track - I want to "Delete and Move" the track to automatically fill the area that I deleted - However, after selecting a section to delete - the "Delete and Move" option is grayed out. How do I fix this?

    Thank you for your attempt to help me. I appreciate that.
    I think I figured out how to fix it-
    I found that if I only delete a small amount at the beginning and at the end of the section that I want to remove - and then highlight that section - Then (and only then) does the "Delete and Move" function work to remove the unwanted section and automatically close the gap between the surrounding sections. I was trying to select a whole section and could only delete it - and then manually move it.
    Problem solved.

  • How best we can use the Rollback and RollbackAlways mechanism in Visual Studio Release Management Template

    Hello All,
    We need a clarification on Rollback and RollbackAlways in Release template.
    We checked a scenario for Rollback and RollbackAlways:
    In Release Template, we have the first activity as “Configure Application Pool” and then followed by a rollback action of “Create Application Pool”
    and “Create Web Site” then followed by "Code Deployment" via TFS build.
    We tested with 2 scenario’s:
    With App Pool and Web Site already existing: when triggered the build, configure
    app pool succeeded, then Rollback action was skipped (as previous action was successful), finally deploy the code executed (code deployed) and build got succeeded.
    Deleted App Pool and Web Site: when triggered the build, configure app pool failed (as no app pool existed), Rollback action executed (as previous action failed) – created app pool and web site then finally
    deploy the code executed (code deployed)
    But build failed (Error: Configure app pool action failed).
    Ideally the build should succeed as the roll back action got executed and code deployed successfully.
    Please correct us if our understanding is wrong.
    Also, Kindly let us know how best we can use the Rollback and RollbackAlways mechanism in Release Management
    Looking forward for your positive response.
    Thanks in advance.
    Regards,

    Hi Shashank,
    Rollback Always runs if any of the actions in the template failed. Rollback will run if action just above rollback fails or if any of the actions below the Rollback fails.
    Article here (http://www.incyclesoftware.com/2014/03/understanding-rollbacks-release-management/) clearly explains how Rollback and Rollback
    Always work.
    I think you come across this issue since you are using build to do the "code deployment" action. You should use the release template to do that. 
    As far as I know you cannot use Rollback to achieve condition check (App pool exist in your case) action.
    For this you can create your own Power Shell component (which checks if the app pool exist and is not create it) and add it as a tool in RM server (RM Server Inventory).
    Another option is you can follow the workaround in below thread "Answer" quoted below. That is execute Remove app pool regardless if it exist or not (which does not fail) and then create app pool.
    I was able to get it working by removing the app pool which does not fail if it doesn't exist. Removing then creating seems the long way around but it works.
    Flow:
    Remove Application Pool
    Create Application Pool
    https://social.msdn.microsoft.com/Forums/en-US/43bf21c8-e233-4e58-a5a8-2592b78bc466/vs-2013-release-management-create-application-pool-fails-if-it-already-exists?forum=tfsbuild
    Cheers!
    Chaminda

  • Cannot use double tap and move with one finger to select text in Mountain Lion

    I've been using OS X in my Macbook Pro since Snow Leopard, and if I choose "tap with one finger to click", I can use double tap and move with one finger to select text if the cursor is between text.
    It works in Snow Leopard,and Lion However, in Mountain Lion, this doesn't work!! I have to click in the bottom right corner of my trackpad  in order to select the text.
    Can anyone get this fixed ?
    Thanks.

    Caolei,
    I don't know if you'll ever see this, but thank you! I hope this helps somebody else down the line, too.
    re. "I can use double tap and move with one finger to select text if the cursor is between text."
    I've been trying to figure out how to select text with tapping and without clicking.
    This did the trick.
    It's quite finicky to not select a space in between words.
    Zooming in does seem to help (two finger double tapping in a body of text may trigger a SmartZoom and zoom the current frame of text to fill the screen, if anybody doesn't know this.)
    ((There's a smartMagnifyWithEvent Cocoa NSEvent that's not universally supported across all applications for noob OS X developers like me.))
    I haven't been able to find the part about double tapping between text to begin a selection (which seems to work best when double tapping directly next to a letter) anywhere in the help system on or online. I probably just missed it, though.
    Clicking with the built-in trackpad on my MacBook Pro w/ Retina or Magic Mouse just takes too much pressure for an old-time touch typist like me.
    As an aside, I've been trying BetterTouchTool and MagicPrefs to enable one finger tap on the Magic Mouse. BetterTouchTool seems to trigger text selection unwantedly and randomly, though.
    The whole mystique of Mac / Apple being intuitive and user-friendly seems to be one of the greatest marketing coups / unbelievable con jobs of the last century.
    I'm actually somewhat qualified to express an opinion as a software engineer with a degree in Computer Science and programming and user interface design experience in Windows, UNIX, web, Android and other systems, and now OS X and iOS. I could go on and on and on but I won't other to say that I still find Macs buggy and hard to use. I'm now finding that my new iPhone 5 is just as big of a pain (i.e. big thumbs missing landscape keyboard in Contacts.) Of course, I like flexibility and options and custom workflows and more than one way to do things and simply being able to do things at all, so I'm also actually somewhat biased. Sorry for the rant...
    Cheers,
    Hal

  • I have downloaded a music file through a downloader . But the file is not found in the captured in music player . How can I locate the physical location and move the file . I cannot do via itunes also .

    I have downloaded a music file through a downloader . But the file is not found in the captured in music player . How can I locate the physical location and move the file . I cannot do via itunes also .

    Exactly what do you mean by a 'downloader'?
    Thanks
    Pete

  • How can I install all my music and movies that I bought into my computer?

    How can I install all the musics and movies that I bought from iTunes into my computer?

    iTunes Store: Transferring purchases from your iOS device or iPod to a computer - http://support.apple.com/kb/HT1848 - only purchases from iTunes Store

  • How can i cancel the music album and movie download que

    how can i cancel the music album and movie download que

    If you are speaking of an iTunes purchase, you will need to contact iTunes Customer Service and explain the situation. Their written policy is kinda cold, in that they say they don't issue refunds for erroneous purchases, but I have found them to be a bit more understanding and helpful than that.
    Start by calling Apple at 1-800-275-2273 (if in the US) and ask to be connected to iTunes Customer Service.

  • Using NI-Vision and NI-IMAQ libraries without MSVC

    Hello
    As part of the developpment of an application with the Qt framework, we need to use the NI Vision and NI-IMAQ libraries. It seems that they have been compiled with MSVC, and they do seem to work only when using an MSVC compiler with Qt. However, in order to ensure an easier installation and maintenance of the program, we would like to avoid having to rely on Visual Studio. We would like to be able to use these libraries with another compiler (like MinGW).
    Is there a way to make these libraries work with minGW instead of MSVC ? Is it possible to ask NI to provide us with MinGW-friendly libraries ?
    Kind regards, 
    The ASCLEPIOS Project team
    le2i Research Laboratory, Dijon, France

    Hi, Greg,
    In the thread which you have found nothing related to NI VIsion.
    In general behind of NI Vision is just few windows DLLs. They was partially optimized in Vision 8.6 for MultiCore processing (only some functions).
    Refer to NI Vision 8.6 Development Module Readme.
    I have compared several functions, and got following results:
    So, if you needed faster processing, there are different possibilities, how to do this:
    1. Use other high performance Library, for example, Intel Integrated Performance Primitives
    2. Develop your own DLL for simple operations (compile it with Intel Compiler).
    3. Use GPU (in this case I will suggest to try NVidia CUDA, but there are no "ready for use" solution. You should found how to prepare DLL with CUDA compiler, then call it from LabVIEW. I tried this, it works in general).
    Andrey.

  • I have an ipad 3/32GB..I need more storage and not sure how to make better use of icloud and release GB

    To add to my original question: I had a 1st generation ipad and 32GB was more than enough storage now I'm having trouble making movies, adding media, etc. I have bought another 15GB of storage on I cloud. Can I put all of my apps on i cloud?
    I'm going to be taking an overseas flight and wanted to rent a bunch of movies but I'm not sure how to do that.
    I would be grateful for any help
    sherrislp

    To answer your question, you could remove your apps and then download them again as needed. Your purchased apps are part of what is stored in iCloud and purchased apps do not count against the allotment anyway - As far as I know.
    You would want to backup to iCloud before you delete the apps. If it were me, I would also back up and sync with iTunes - I still use iTunes and I back up to both iCloud and iTunes.
    The suggestion that James made would be OK for bringing the movies with you on the trip .... But you need to be able to use WiFi in order to use the device and the way that I read your question, you want to download movies to watch on the flight. So that will not work on the airline flight. It would store the content for later viewing but won't work on the flight. That is my understanding of the GoFlex drive, but you would have to investigate it further.
    http://www.seagate.com/external-hard-drives/portable-hard-drives/wireless/goflex -satellite/?cmpid=ppc-_-satellite-_-g-_-us-_-goflex_satellite-_-p

  • How to generate PDF using FDF file and the PDF form template (PHP)

    Hi Folks,
    I'm really sorry that I couldn't follow all the valuable discussions going on here, regularly. I need some immediate help.
    I NEED A PHP SOLUTION. I'm able to generate FDF files using the PDF Form Template in PHP. So, I have a collection of FDF files, which seeks the PDF template, while opened and populates the template with FDF data. Now if I need to save this PDF file, I have to do it manually clicking SAVE option. But, I need to convert FDF to PDF in bulk. So, I need some PHP based solution. The PHP script takes the PDF template and the FDF file and merges them to generate a complete populated PDF file. I know it's possible, but don't know how. I've seen Adobe FDF Toolkit. But by default it doesn't show any guideline for PHP. Please help me to write this code. I'm a professional coder. I can understand your hints and tutorials. PLEASE HELP GOOD PEOPLE.

    The only reason I am responding to this post is because the poster sent me a request through the forum message system asking for my help.
    Although I did populate PDFs with FDF data generated by web forms a year or so ago, I have since abandoned that kind of solution. It was a big headache. I found it far more stable and flexible to use html, php and css to populate forms that are almost as nice looking as PDFs.
    So my advice is, if you can possibly avoid going the FDF/PDF route, you will be better off.

  • How to send attachments using java application and outlook

    Hi ,
    I created an application in java which is as
    on the Conference Tab i can schedule a conference and with the send command on page it map all the scheduled data to outlook(with all conference details) and using outlook send option the mails are send to appropriate user.
    but now i want to modify this application such as when i use the send command from my jsp page it should attach the file that is in .vcs or .ics format for auto updation of user calender.
    can any one know how to send attachment using java application .

    Last time I checked, SMS was a service between carriers and doing SMS yourself was really tricky. Some services existed to let you do it but as I recall they wanted non-trivial money.
    However, most phone carriers provide an email-to-SMS bridge of some kind.
    So the easiest thing is just to send an email.
    That's sending from a non-phone to a phone. There's a J2ME library to send/receive SMS from/to a phone.
    However, this is from memory, and a little out of date, so I could be entirely wrong. Hope it helps anyway.

  • How do I start using BT Openzone and BT. FON ?

    Hi there all,
    I have a BT Internet email address and BT home broadband.
    Can someone please let me know how I can register for BT Openzone and BT. FON so I can start using the service on my mobile phone when I am out and about ?
    Thank you for any help and advise.
    Solved!
    Go to Solution.

    Yes you would have to use his details.
    It may be that he uses a sub account for e-mail, as its not really a good idea to use the primary account, as it cannot easily be changed, should it get too much spam mail.
    If you have a mobile phone which has a BT FON application for it, then he can enter the details for you, and the password would be hidden.
    He would still have to do the initial registration.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

Maybe you are looking for

  • Creative Cloud does not start, the pin wheel on my mac just spins, spins, spins

    I have a MacBook Pro with 370 gigs of HD available (of 500gig), 4 gigs of ram, and 2.7 ghz processor. I installed Adobe Ai (creative cloud) and the install seemed to have worked just fine.  However, in the creative cloud window (when clicking the ico

  • Data Services - Open hub read - No Open Hub DTP error

    Hi, I have created a open hub destination in BW (7.0 SP21), created transformation, DTP and process chain. In Data Services (3.2) I have created flow, job etc. and every thing seems to be as expected. However when I start the job in DS it terminates

  • Syntax Error in Login Code PHP

    Hello, I am currently building my first log-in page and have come to the following issue. I am getting Syntax Error's on lines 39 & 49. I'm sure it's something simple that I am missing here? NOTE* Excuse me if I didn't post the code correctly, I am n

  • BB9530T (Storm), Replacing a Palm 700 on Verizon

    I just bought this phone today, and am so far loving it. But I have an issue with the DeskTop Management software and E-mail reconciling. That checkbox is grayed out, and I can't reconcile/synchronize my Inbox. My work E-mail is behind a VPN on an Ex

  • How to set position of iChat window

    Every time I begin a chat, the chat window opens in the middle of the screen and I move it to the corner where I like to put it so I can have others windows open and not block each other. How can I get the iChat program to remember the position of th