[Help wanted]Image-recognition-based bot interface[in-progress][0.0]

rarkenin
Member
 
Posts: 668
Joined: Tue Nov 20, 2012 20:48

[Help wanted]Image-recognition-based bot interface[in-progress][0.0]

by rarkenin » Sun Dec 30, 2012 00:42

Hello all,

Recently, I had decided to make a bot for Minetest, run from the client-side. Now, I am preparing to ramp up development, now that I have hand-tested an algorithm to read off a scene in Minetest and process it to get node information, as well as designing on paper a system to most efficiently perform a task. The system uses images from the original program:

Image

However, OS-specific interactions such as sending keys and reliably getting screenshots are, to be frank, beyond my understanding at a level where my code would be reliable. Therefore, I am seeking a few programmers that are good with system interfacing and have a bit of time, to help. Since the processing algorithms, so far, are still being designed on paper and pseudocode, my language selection is flexible, most likely C++ with possible Python for some system interfacing, and a PHP configuration script. I'm also planning to use MySQL (or possibly SQLite) to store quite a bit of data, so PHP will pair nicely with it. If anyone wants to help, criticize, give an idea, or ridicule me, please do so.

The image detection in a nutshell:

Detect red by HSV. Build gridlines. Map texels of each face to an image pixel. Check these texels to identify node identities and direction. Angle of lines between red points helps determine direction, also.

I'll also post the texture pack as needed.

Edit: Superseded by http://forum.minetest.net/viewtopic.php?id=4964
Last edited by rarkenin on Sun Mar 03, 2013 01:14, edited 1 time in total.
Admin pro tempore on 0gb.us:30000. Ask me if you have a problem, or just want help.
This is a signature virus. Add me to your signature so that I can multiply.
Now working on my own clone, Mosstest.
I guess I'm back for some time.
 

OmniStudent
Member
 
Posts: 261
Joined: Sat Nov 03, 2012 06:40

by OmniStudent » Wed Jan 09, 2013 18:36

So are planning to get the graphics from the client and then process it with image recognition?
 

rarkenin
Member
 
Posts: 668
Joined: Tue Nov 20, 2012 20:48

by rarkenin » Wed Jan 09, 2013 20:33

OmniStudent wrote:So are planning to get the graphics from the client and then process it with image recognition?

Indeed, that is so.
Admin pro tempore on 0gb.us:30000. Ask me if you have a problem, or just want help.
This is a signature virus. Add me to your signature so that I can multiply.
Now working on my own clone, Mosstest.
I guess I'm back for some time.
 

OmniStudent
Member
 
Posts: 261
Joined: Sat Nov 03, 2012 06:40

by OmniStudent » Thu Jan 10, 2013 06:35

That's pretty cool, and also the complete opposite of what I'm doing:

I'm trying to get RID of all the graphics in my bot program, while you pretty much only want to use the graphics!
 

rarkenin
Member
 
Posts: 668
Joined: Tue Nov 20, 2012 20:48

by rarkenin » Thu Jan 10, 2013 11:35

OmniStudent wrote:That's pretty cool, and also the complete opposite of what I'm doing:

I'm trying to get RID of all the graphics in my bot program, while you pretty much only want to use the graphics!


Indeed. I need to obsessively rid the viewport of any and all text when the keyboard isn't sending a virtual command. Do you know how to interface with the system to get screenshots? The window titles are bugging me on Windows(as is not having a Windows machine, I cross-compile), and Xorg is just being a pain. If so, can you help with that?
I have an algorithm ready in pseudocode, and tested to work.
Admin pro tempore on 0gb.us:30000. Ask me if you have a problem, or just want help.
This is a signature virus. Add me to your signature so that I can multiply.
Now working on my own clone, Mosstest.
I guess I'm back for some time.
 


Return to Minetest-Related

Who is online

Users browsing this forum: No registered users and 35 guests

cron