Detect text on image using Google Cloud Vision API (python)

Requirements

pip install google-cloud-vision

Code

text_annotations {
description: "PHILIPS"
bounding_poly {
vertices {
x: 224
y: 284
}
vertices {
x: 619
y: 286
}
vertices {
x: 619
y: 365
}
vertices {
x: 224
y: 363
}
}
}
PHILIPS GS$M
TCD128/34
996111004986
MADE IN France
PN: VY379949
CE168X
CN: VY609950K80780
IMEI: 448674528976410
KI
['448674528976410']

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store