I could not find a better title. So this is what I want to do:
I have a picturebox that is 28x28 pixels
I am working on a AI project and my idea is to make an OCR for numbers,
I found training data but all the images are 28x28 pixels, so my ideea is to make a picturebox that size,
draw on it and feed that info to the neural network.
My problem is graphicly for the moment:
How do I make a 28x28 picturebox and somehow enlarge it but maintain the pixel count. I put the picturebox into a panel and I want the picturebox to fill the panel.
My idea would be to somehow scale it up and after drawing on it scale it back down, but how can I accomplish this?
mathematically how can this be done?
And what would be the best way to draw on that picturebox (line, fillelipse , etc) so the data could be feed into the NN (after normalizing it ofc).