Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bahmutov/image-as-script

JavaScript code recognized and executed from an image
https://github.com/bahmutov/image-as-script

demo javascript ocr optical-character-recognition

Last synced: about 1 month ago
JSON representation

JavaScript code recognized and executed from an image

Awesome Lists containing this project

README

        

# image-as-script

People argue why the websites are so slow - is it the large images or lots of
JavaScript? The next natural step is to send large images *with JavaScript*.
Then one can run [character recognition library](https://github.com/antimatter15/ocrad.js)
to get the JavaScript out of the image and execute it. Seems reasonable.

![Recognized JS code](recognized-code.png)

This repo: [https://github.com/bahmutov/image-as-script](https://github.com/bahmutov/image-as-script)