Giter Club home page Giter Club logo

ocr's Introduction

Node OCR

This repository hosts an experiment with Tesseract OCR in Node I made. It uses Tesseract to recognize the value of the countdown timer in Ludwig's Subathon stream and updates the repository description to the found value.

How it works

  1. Download the Twitch stream preview in full size quality for best results

  1. Detect the countdown timer region by looking for a blob of background color
  2. Crop the top half of the region out of the preview image and invert it

  1. Run Tesseract OCR on the extracted region image and limit it to digits
  2. Run every 5 minutes using GitHub Actions and set the repository description

The image manipulation is done using Sharp.

Status

The Subathon has ended around 2021-04-14 6:00 Prague, 21:00 Ludwig time zone.

I have disabled GitHub Actions on this project. I will use this repository as a template for tracking something else like this if I can think of anything in the future.

ocr's People

Contributors

tomashubelbauer avatar

Watchers

 avatar  avatar  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.