Menu

Reading a mobile game screen pixel by pixel
📰

Reading a mobile game screen pixel by pixel

DEV Community: computervision·Nihat Aliyev·17 days ago
#zya7sf2c
Reading 0:00
15s threshold

Clash of Clans gives you 30 seconds to look at a base before the attack starts. That's when you figure out where the loot is, where to go in, where you can even drop troops. I wanted a model that could look at that screen for me.

Couldn't find a dataset for it. So I built one.

What's actually on the screen

More than you'd think. Buildings, walls, traps, rocks, trees, decorations, troops, heroes, the army bar at the bottom, loot and timer at the top. And everything overlaps. Decorations sit in front of buildings, the UI sits on top of the base.

So every object is a polygon of only the pixels you can actually see.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.