Jump to content
  • Advertisement
Sign in to follow this  
guillermoro

Image Recognition

This topic is 4492 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Im designing an ai that needs to be able to play a game the same way as a human. The only data it will get about the game is an array of integers that represent pixels. Another very useful thing would be the ability to create characters from pixels or actually reading letters off the screen. This may be unrealistic but i could simplyfy the task because the game uses only one font. Ive done quite a few searches and gotten some info but i would really appreciate any info that anyone could give me on any topic that this ai needs. Ive gotten a demo to work but it only plays pong and does it relatively poorly Thanks

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Drop me an email at

luiscarrasco@gmail.com

Share this post


Link to post
Share on other sites
Recognition of images, letters, and geometric reconstruction is a huge area of science and technology. You can check Computer Vision online library to get an overview:
http://homepages.inf.ed.ac.uk/rbf/CVonline/
Some of methods are very fast and work even on the cellular phone with camera.
But the only way you would really need it if you AI control a real robot in the real world. If your AI is acting in the simulated enviroment you can get the same behavior a lot more easy if you just chek the line of site, distance to object, introduce artificial errors based in them and just send coordinates and identifiers to AI.

Share this post


Link to post
Share on other sites
Search for those keywords:
pattern matching,
pattern recognition,
content-based indexing,
machine learning.

Some good journals/conference with papers on this subject:

journals: Journal of Pattern Matching, Artificial Intelligence (journal)

Conferences: ICPR, CVPR, ICCV

The 'popular' approach right now for image recognition is through "support vector machines". Tons of papers on this, it has rised in favor while people are abandoning connectivist methods.

Good luck!

edit: serg3d is right by the way, its a HUGE area, be prepared for a LONG litteracy review.

Share this post


Link to post
Share on other sites
Another thing to note is that your solution will be *very* specific to the game your AI is playing. Pong, for example, is relatively simple, you only need to recognize 3 simple objects (1 ball, 2 paddles), this can be made easier by using different colours for each object. Getting an AI to play Doom 3 this way however would be nigh impossible without a supercomputer.

Share this post


Link to post
Share on other sites
lol dont worry my ai wont be playing doom anytime soon. I know i could do some simple solutions with pong, for example i could test only two columns to find the top left x and ys of the paddles and then just look for the rop left ball coordinate. Actually thats what ive started to do but it feels like my ai is cheating.

Share this post


Link to post
Share on other sites
If you're only using one font, you can use a simple pattern matching routine (cross correlation) to recognize letters.

It doesn't have to be anything complicated, since you're not matching unknowns-to-knowns (like face detection), but are mapping knowns-to-knowns.

The more I think of it, the more I think a cross-correlation algorithm will work for you.

Like joanusdmentia said, this will be very specific to one application.


Almost forgot: What are you working on??? Can we see it? It sounds cool.
Will

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!