Giter Site home page Giter Site logo

rumplin / punchedtapescanner Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arqueologiadigital/punchedtapescanner

0.0 0.0 0.0 939 KB

An OpenCV program that extracts a data dump from a scanned image of a punched tape.

License: GNU General Public License v3.0

C++ 98.21% CMake 1.79%

punchedtapescanner's Introduction

PunchedTapeScanner

An OpenCV program that extracts a data dump from a scanned image of a puched tape.

Compile it

mkdir build
cd build
cmake ..
make

Use it

There's an example of a scanned punched tape in this repository. The file is called example/fita_absoluta.2a.0006.96.scan03.png

This tape contains a tiny hello world program that prints the text string "PATO FEIO" (it means 'ugly duck' in Brazilian portuguese) in the DECWRITER printer, attached to the Patinho Feio computer.

It was the first computer designed in Brazil (in the early 70s) and it has a new driver for emulating it in MAME.

To extract a ROM image of the tape, run the program like this:

./PunchedTapeScanner ../example/fita_absoluta.2a.0006.96.scan03.png output.rom 0

The result will be a file called output.rom that you can examine with:

hexdump -C output.rom | less

punchedtapescanner's People

Contributors

felipesanches avatar tingox avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.