Ask Your Question

Revision history [back]

Detection and tracking of 2d rotating sprites.


My problem is to detect and track game monsters in realtime.

There is more than one type of mobs on map at a time.

Each mob's sprite have size of 20-50px and feature detection was not succesful, because of not contrasted colored backgrounds. I also tried template matching, it is more effective, but i still can't handle collisions and differences between similar sprites.

Another method of tracking that i tried, was based on differences between empty map and map with mobs. It's track very effective, but i don't know, how to classify mobs, because this method tracks all the mobs on the map (and player's model too)

Is there some method, that can efficiently solve this problem?

There is an example

Thank you!