Software for "OCR"'ing exact pixels from a photo of a videogame/pixel-art?

2

0

I am searching for software that can reconstruct the exact pixels from a photo of an old videogame or a piece pixel-art. The goal would be the re-digitalization of digital images that only survived in an analog copy, say images of Mario Paint that where captured on a VHS tape or old digital art that only survived as a printout. Does such software exist?

Example of Pixel-OCR

This problem has quite some similarities with the scanning of 2D barcodes. Perhaps some software exists from that area that could be used for this purpose.

Grumbel

Posted 2010-04-25T21:21:58.453

Reputation: 3 100

I would say this has nothing to do with scanning 2D barcodes. In scanning barcodes, you know when you have a valid result or not. There is no way to know whether or not you have correctly found the original color, (other than rounding to the nearest 8-bit color, if the colors were limited in that way) – BlueRaja - Danny Pflughoeft – 2010-04-27T14:02:23.587

The basic problem is still pretty much the same (i.e. start with deformed photo and reconstruct the original digitial information), with 2D barcodes you simply have additional hints for error correction and you are dealing with black&white instead of color. – Grumbel – 2010-04-27T20:16:17.937

Answers

1

I can't suggest any software to do this out of the box but you might get suitable results manually in Photoshop or GIMP:

  • Rotate/crop your image so that it has the same aspect ratio as the original video game.
  • (Optional) Do some blurring/sharpening, depending on the image quality.
  • Upscale your image to a multiple of the original videogame resolution.
  • Run the Mosaic filter on the image using Cell Size the same as the multiple value.
  • Downscale your image to 1/multiple, leaving it the same resolution as the original game.
  • Using Save for Web & Devices, save it as a pallet-based format (PNG or GIF) with a small number of colours to match the original. At this stage you will also be able to tweak each pallet slot colour to adjust colours more closely to the original.

Afterthought: If your originals are all fairly consistent (size, angle, aspect ratio, etc.) you can probably automate most steps using a script calling on ImageMagick.

Mike Fitzpatrick

Posted 2010-04-25T21:21:58.453

Reputation: 15 062

Instead of upscaling, why not scan in at a higher resolution if possible? Either way one might be left doing pixel-level modification to get the results perfect. A pixel based editor may be a better option than Photoshop or GIMP for fine-tuning the color pallet and final image. – afrazier – 2010-04-27T15:02:52.587