https://uconnstamfordslp.blogspot.com/p/vision-example-explained.html
Load 4 python routines that will use Google Vision API to scan 4
separate images.
separate images.
Note: need to use your own images and store them on your Google Storage Bucket
Download images from the internet and store on your cloud storage bucket.
image_uri = 'gs://cloud-samples-data/vision/using_curl/shanghai.jpeg'
Example image_uri = "gs://jiacovacci/knicks.jpg"
Using text detect
'sphere\nNYC\nNEW YORK\n30\nNYC' | (224,171),(403,171),(403,411),(224,411)
'sphere' | (329,181),(350,180),(350,187),(329,188)
'NYC' | (235,181),(267,179),(268,195),(236,197)
'NEW' | (227,225),(285,217),(291,255),(232,264)
'YORK' | (296,215),(363,206),(369,244),(301,254)
'30' | (254,270),(345,267),(347,327),(256,330)
'NYC' | (372,397),(399,389),(403,403),(376,411)
In [23]:
4 Python routines
Perform label detection
Perform text detection
Perform landmark detection
Perform face detection
Send me the output from each run of the function in an email
Assignment
Adjunct Professor John Iacovacci
University of Connecticut, Stamford
John.Iacovacci@uconn.edu
No comments:
Post a Comment