Skip to content

Instantly share code, notes, and snippets.

View dangell7's full-sized avatar
💭
In the ZONE

Denis Angell dangell7

💭
In the ZONE
View GitHub Profile
@keefertaylor
keefertaylor / install_osx.sh
Last active January 15, 2020 01:03
Building rippled with gRPC
# Install some prerequisites.
# Assume you have homebrew installed, see: homebrew.sh
brew install protobuf grpc [email protected]
# Pull rippled on the gRPC branch
$ git clone https://github.com/ripple/rippled
$ cd rippled
$ git fetch origin pull/3159/head:grpc
$ git checkout grpc
@dannguyen
dannguyen / README.md
Last active September 10, 2024 19:41
Using Python 3.x and Google Cloud Vision API to OCR scanned documents to extract structured data

Using Python 3 + Google Cloud Vision API's OCR to extract text from photos and scanned documents

Just a quickie test in Python 3 (using Requests) to see if Google Cloud Vision can be used to effectively OCR a scanned data table and preserve its structure, in the way that products such as ABBYY FineReader can OCR an image and provide Excel-ready output.

The short answer: No. While Cloud Vision provides bounding polygon coordinates in its output, it doesn't provide it at the word or region level, which would be needed to then calculate the data delimiters.

On the other hand, the OCR quality is pretty good, if you just need to identify text anywhere in an image, without regards to its physical coordinates. I've included two examples:

####### 1. A low-resolution photo of road signs

@alanzeino
alanzeino / lldb-debugging.md
Last active May 29, 2024 03:18
LLDB debugging with examples

LLDB Debugging Cheat Sheet

Commands

LLDB Commands

LLDB comes with a great set of commands for powerful debugging.

help

Your starting point for anything. Type help to get a list of all commands, plus any user installed ones. Type 'help for more information on a command. Type help to get help for a specific option in a command too.