advent-of-code-ocr

Convert Advent of Code ASCII art (by bsoyka)

Advent-of-code-ocr Alternatives

Similar projects and alternatives to advent-of-code-ocr

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better advent-of-code-ocr alternative or higher similarity.

advent-of-code-ocr reviews and mentions

Posts with mentions or reviews of advent-of-code-ocr. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-09.
  • [2022 Day 10 (Part 2)] A helpful Python module (again!)
    1 project | /r/adventofcode | 10 Dec 2022
    In past years, I’ve created Advent of Code OCR for Python to convert ASCII letter art from these problems into plain text you can copy and paste.
  • [2022 Day 10 (Part 2)] Today's puzzle not screenreader accessible
    4 projects | /r/adventofcode | 9 Dec 2022
    Python: advent-of-code-ocr module by /u/bsoyka (original post)
  • -🎄- 2022 Day 10 Solutions -🎄-
    201 projects | /r/adventofcode | 9 Dec 2022
    The OCR is based on the number of active pixels for each column. The letter "E" has 6 lit pixels in the first column, 3 pixels in the 2nd and 3rd column and 2 pixels in the last column. By looking at the character list (thanks bsoyka on github!) I could craft a lookup table. The four integers will be shifted and added together to get a single integer. The 6,3,3,2 is transformed to 6<<0 + 3<<2 + 3<<4 + 2<<6 = 194 (the bits overlap, I know, but there are no collisions). The index of 194 in this magic list is 4. By adding 65 (ascii value of 'A') I can get the actual character with chr().
  • A note from our sponsor - WorkOS
    workos.com | 25 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic advent-of-code-ocr repo stats
4
12
10.0
over 1 year ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com