April 11, 2006, 2:34 pm
here's a killer app idea for a robot.. I'm very suprised it hasn't
been
done before..
webcam pointed at the TV screen, software tracks movement
of sprites on screen.
Video game system connected to TV.. Start with the Atari 2600
for simplicity of machine vision code..
Computer connected to webcam, and also has access to the
current state of the joystick (5 1-bit inputs. Up, Down, Left, Right,
Button)
Software watches screen, relates movement on screen to joystick
state..
Software learns goal of game. Restart in 2-player mode, and play
the computer. If you program it correctly, it should be impossible
to beat the computer.
You could also do it without joystick feedback. Let the computer
randomly cycle the joystick bits, and relate movement on the screen
to the joystick state. It would learn how joystick relates to the
screen,
but not the concept of the game.
The point: machine learning, and a friend to play games with.
Anyone interested in trying to get this work with me? I have
a webcam, A PC, a TV, and an atari 2600.
You could allow the user to lasso parts of the screen, IE score
and remaining lives. Perhaps a small programming language
within the software:
If lasso1 = previouslasso1 - 1 then BAD --for lives
GoLearn
endif
if lasso1 = previouslasso1 + 1 then GOOD
GoLearn
endif
If lasso2 = previouslasso2 - 1 then BAD --for score
GoLearn
endif
if lasso2 = previouslasso2 + 1 then GOOD
GoLearn
endif
Learn:
what just happened on screen?
Color change of objects?
which objects? store colors, shapes of objects, Good/BAD and
add them to a rule table
collision between objects?
which objects? store colors, shapes of objects, Good/BAD and
add them to a rule table
timer reached a certain count?
which count? store count and Good/BAD rule in rule table
life indicator reached a certain count?
which count? store count and Good/BAD rule in rule table
then in the main loop:
check for Closeness to Good rule
move joystick to achieve good
check for closeness to Bad Rule
move joystick to get away from bad
PacMan seems like a good place to start
Rich
been
done before..
webcam pointed at the TV screen, software tracks movement
of sprites on screen.
Video game system connected to TV.. Start with the Atari 2600
for simplicity of machine vision code..
Computer connected to webcam, and also has access to the
current state of the joystick (5 1-bit inputs. Up, Down, Left, Right,
Button)
Software watches screen, relates movement on screen to joystick
state..
Software learns goal of game. Restart in 2-player mode, and play
the computer. If you program it correctly, it should be impossible
to beat the computer.
You could also do it without joystick feedback. Let the computer
randomly cycle the joystick bits, and relate movement on the screen
to the joystick state. It would learn how joystick relates to the
screen,
but not the concept of the game.
The point: machine learning, and a friend to play games with.
Anyone interested in trying to get this work with me? I have
a webcam, A PC, a TV, and an atari 2600.
You could allow the user to lasso parts of the screen, IE score
and remaining lives. Perhaps a small programming language
within the software:
If lasso1 = previouslasso1 - 1 then BAD --for lives
GoLearn
endif
if lasso1 = previouslasso1 + 1 then GOOD
GoLearn
endif
If lasso2 = previouslasso2 - 1 then BAD --for score
GoLearn
endif
if lasso2 = previouslasso2 + 1 then GOOD
GoLearn
endif
Learn:
what just happened on screen?
Color change of objects?
which objects? store colors, shapes of objects, Good/BAD and
add them to a rule table
collision between objects?
which objects? store colors, shapes of objects, Good/BAD and
add them to a rule table
timer reached a certain count?
which count? store count and Good/BAD rule in rule table
life indicator reached a certain count?
which count? store count and Good/BAD rule in rule table
then in the main loop:
check for Closeness to Good rule
move joystick to achieve good
check for closeness to Bad Rule
move joystick to get away from bad
PacMan seems like a good place to start
Rich
Re: learning from digital inputs + vision
If you program it correctly then it isn't "learning" it
simply embodies your solution to the problem.
What software tool do you use to capture and process
the images?
[ snip pseudo code ]
How about the first games that could be played on your TV?
It consisted of bat/s being a vertical bar (of variable
length) and a ball that moved with variable speeds.
=====================================================
bat
*
*
* ball bat
* O *
*
*
*
======================================================
Each player could move their bats up or down to prevent
the ball going off the screen. The angle the ball left
the bat would depend on what part of the bat it hit.
--
John
Re: learning from digital inputs + vision
Do you have a web site or some such where you show
all your robotic stuff?
I googled and found,
http://www.merl.com/projects/scar/
Did you used the Artificial Retina Evaluation Board?
I noticed the modification date was back in June 2001
Has anyone else used the retina?
Cheers,
John
Re: learning from digital inputs + vision
Have you tried this? I expect the TV refresh/flicker will cause tearing
of the image that you will need to eliminate before proceeding.
However, tracking computer-generated images will be easier than generic
image processing since they tend to be more consistent.
Daniel
Re: learning from digital inputs + vision
exposure time)
kinda takes the fun out of it if you need access to video
refresh signals.
I'll experiment with changing the exposure time with the
cams I have hooked up.
Rich
430 No such article
perhaps have VBL trigger shutter open and close... (or
exposure time)
kinda takes the fun out of it if you need access to video
refresh signals.
I'll experiment with changing the exposure time with the
cams I have hooked up.
Rich
Site Timeline
- » Soliciting papers on Epigenetic Robotics as part of 2006 Performance Metrics for Intellig...
- — Next thread in » General Robotics Forum
-

- » help converting C code to Basic for use with BS2
- — Previous thread in » General Robotics Forum
-

- » evoMUSART 2013: First CFP (with correct dates)
- — Newest thread in » General Robotics Forum
-

- » OT: Spacex Dragon docking with ISS
- — The site's Newest Thread. Posted in » General Metalworking
-


Subject







