Mobile robot with computer vision [SOLUTION]

fischertechnik in General
Forumsregeln
Bitte beachte die Forumsregeln!
Antworten
Benutzeravatar
ft-ninja
Beiträge: 113
Registriert: 01 Nov 2010, 14:26
Wohnort: Inner Mongolia
Kontaktdaten:

Mobile robot with computer vision [SOLUTION]

Beitrag von ft-ninja » 10 Jan 2012, 00:37

Hello Folks!

Take a look at my new line follower robot KUBIKUS. This robot uses machine vision software running on Android powered smpartphone to trace a path.

01. The robot
Bild

02. Screen capture from HTC
Bild

03. KUBIKUS at work - youtube video.

More at my blog.
==
ft-ninja

Benutzeravatar
Defiant
Beiträge: 409
Registriert: 31 Okt 2010, 21:42
Wohnort: Narn Homeworld
Kontaktdaten:

Re: Mobile robot with computer vision [SOLUTION]

Beitrag von Defiant » 10 Jan 2012, 16:37

Is that HW accelerated (like ducati?) OpenCV?

And do you have a human readable version of your blog?
"Propaganda does not deceive people; it merely helps them to deceive themselves."
E Hoffer

Benutzeravatar
ft-ninja
Beiträge: 113
Registriert: 01 Nov 2010, 14:26
Wohnort: Inner Mongolia
Kontaktdaten:

Re: Mobile robot with computer vision [SOLUTION]

Beitrag von ft-ninja » 10 Jan 2012, 17:10

It's OpenCV for Android (Link) without hw acceleration. The smartphone is HTC Legend with Android 2.2.

Sorry. The blog has only human unreadable version ))

Defiant hat geschrieben:Is that HW accelerated (like ducati?) OpenCV?

And do you have a human readable version of your blog?
Zuletzt geändert von ft-ninja am 11 Jan 2012, 09:57, insgesamt 1-mal geändert.
==
ft-ninja

Benutzeravatar
Defiant
Beiträge: 409
Registriert: 31 Okt 2010, 21:42
Wohnort: Narn Homeworld
Kontaktdaten:

Re: Mobile robot with computer vision [SOLUTION]

Beitrag von Defiant » 10 Jan 2012, 22:12

Not even details on the algorithm used? :(
"Propaganda does not deceive people; it merely helps them to deceive themselves."
E Hoffer

Benutzeravatar
ft-ninja
Beiträge: 113
Registriert: 01 Nov 2010, 14:26
Wohnort: Inner Mongolia
Kontaktdaten:

Re: Mobile robot with computer vision [SOLUTION]

Beitrag von ft-ninja » 11 Jan 2012, 09:55

The algorithm is very simple :)

1. Grab the image from camera.
2. Smooth the image.
3. Aplly threshold function to split the image from Step 2 to white and black regions.
4. Find contours in the image from Step 3.
5. Calculate the global centroid coordinates for all contours from Step 4.
6. Compare the result from the Step 5 with coordinate of the robots central axis. If the centroid lies to the left of the central axis - then let the robot turns left. If the centroid lies to the right - then turns right. If the centroid lies in the deadband - then move forward.
7. GOTO Step 1
Defiant hat geschrieben:Not even details on the algorithm used? :(
==
ft-ninja

Antworten