There just wasnt a simple cross platform library with hardware support. (Anyone who suggests libav hasnt tried it outside of an statically linked demo app :)
Ask HN: What are some tools / libraries you built yourself?
411–420 of 617 posts
Re: Ask HN: What are some tools / libraries you built yourself?
#412Earlier quoted context omitted.
Not op, but I wrote something equivalent based on a linux script that I found [1]. Here's the mac version of the script [2]. You need tesseract [3] installed for the OCR. For launching it using a keyboard shortcut I use a hammerspoon [4]. Example of how I bind it [5] [1] https://github.com/sdushantha/bin/blob/master/utils/ocr [2] https://github.com/JJGO/dotfiles/blob/master/scripts/bin/ocr [3] https://pypi.org/projec…
Nice, I started with tesseract, but moved to Google Vision as the quality was better. Azure's offering was better for hand written notes.
Re: Ask HN: What are some tools / libraries you built yourself?
#413Created TAO[0] -- a minimal syntax that's even simpler than S-expressions. Building notations on top of it, currently focusing on one for data -- an alternative to XML, JSON et al. Open-source, prototyping on GitHub[1]. Keepin' it simple ain't easy. [0] https://tree-annotation.org/ [1] https://github.com/tree-annotation
It looks very neat. I quite like the example where tapping JSON code shows, which characters would be removed in TAO.
Re: Ask HN: What are some tools / libraries you built yourself?
#414DIY everything is my path to programming happiness (in any field in fact). Tools should be extensions of your body, tools made by others are unlikely to be that.
Re: Ask HN: What are some tools / libraries you built yourself?
#415Re: Ask HN: What are some tools / libraries you built yourself?
#416Earlier quoted context omitted.
Nice, I started with tesseract, but moved to Google Vision as the quality was better. Azure's offering was better for hand written notes.
Interesting, that doesn't really work for me as I sometimes use it to OCR sensitive stuff from scanned documents, and it wouldn't work offline. I found tesseract to work pretty reliably for my use and only fail when scanning non-ASCII characters.
I've been experimenting w/ CoreImage detectors (mainly for categorisation of scanned documents based on QR codes).
When I clean things up today, I'll see what can be used.
Re: Ask HN: What are some tools / libraries you built yourself?
#417Re: Ask HN: What are some tools / libraries you built yourself?
#418Re: Ask HN: What are some tools / libraries you built yourself?
#419Dbmate: https://github.com/amacneil/dbmate I found most database migration tools tried to be too smart (I'm not a fan of automatic migrations), were too tightly integrated with specific languages or frameworks, or didn't support basic developer workflow pleasantries such as dropping and recreating the database. I created a simple single binary migration tool that runs migrations (sql files), and keeps track of applie…
I found that I wanted something really specific, and built a tool in Go that lets you write, modify and use plpgsql functions as if they were regular source code files rather than database objects. You can write them as Go packages, import those packages into other Go projects, and write tests - without maintaining migration files for anything other than the tables. Combined with IDEA’s plpgsql language support it’s…
Re: Ask HN: What are some tools / libraries you built yourself?
#420I built a "Pokemon for Sushi", where I kept track and collected all the different sushi that I ate, and where I found it. It connects to the Foursquare API, so I can just pick the sushi shop from a drop down through my phone https://torodex.herokuapp.com/netas