whitebeard wrote:Anderas wrote:I am working on a refinment of my quest scraper again.I guess If i would invest all the time in playing heroquest instead of investing it in fruitless projects, I would have finished HQ now three times over. But ok.
![]()
The Neural Net keeps mixing up Alchemist table with the Frozen Horror Throne Room, and the Bookcase with the Cupboard. The latter I do understand, in the one corner they really look alike. But the former? *sigh*
A more conventional image recognition based on analytic metrics (like a bar code dark-light pattern) would not make either of these mistakes and you could "train" it faster. This type of system has been used successfully in automotive to recognize speed limits from signs, and even distinguish locality in Europe by the font used for the numbers. Is there a thread for your scraper? What is your objective?
Suggestion: If you have found a bounding box for the whole map then size of the sub-element should be a constraint in your classification process. It should not be possible to confuse a room tile with a furniture item
The final logic will certainly be able to separate them out.
Currently I have:
A thing that cuts a png map from heroscribe down to single-square images (slightly bigger so that the doors are completely visible in every square)
And a logic that throws a (very small) Neural Net on these snippets to identify what's visible in there. Here is a constraint: if I throw in entire rooms or maps, I need a quite big Neural Net and I don't have the capacity at home to train it. So I use many small snippets for which I can easily train a small net in an hour, but then it can identify the rooms only square by square.
The bookcase-cupboard error was an error in my training set by the way. I corrected the assignment, now it works.
The throne room has one corner with some circles which look like those bottles on the alchemists table.
The target is to have a thing which takes a quest image and produces a heroscribe file from it. It doesn't have to be perfect, just time saving.
It is not time saving if I have to check everything. So I guess it has to be quite perfect.
Right now it is capturing around 100 symbols coming from the Frozen Horror, the Base Game and the Ogre Hordes. This works. Very good. 0.5% errors.
Now I need to add a hough transformation. With it I can identify the outlines of a randomly sized Quest image. Then I can scale it to fit with the rest, and here we go.
I don't have a solution for the rooms yet.
Do you have some google-able names for the methods you mentioned?

















