ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Google Cloud Vision API Problem

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
HMArnold Posted - Oct 08 2022 : 10:25:06
Installed 11.4.0, "GoogleVisionAPI" demo projects loads, compiles, and starts just fine.

I didn't get the same screens to request an API as in the Forum Post example, probably because I have other Google APIs, but I was able to navigate to a "Googe Cloud API" screen, start a project, request a new API, and got one with a screen that says "Google Vision API Key" with a copy option for a long, complex code.

It has new been several hours since I enable that new API key, but when I try to run either the demo or a compiled version of the demo, load an image, and select "Process Image", I get an error saying "Cloud Vision API has noy been used in project 218654187009 before or it is disabled"...

Is my new API key something that will work with every Google Vision API project or is it something I have to get for specific projects, like "218654187009"?

I suppose it's possible the nice folks at Google are running slow today and it will start working later in the day, but I was hoping to see if you had any other suggestions.

Adding Google Vision API support is a great addition to the ImageEn system - Thanks!





HM Arnold
2   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Oct 09 2022 : 20:36:43
Thanks for reporting back. I've added a note for that to our instructions:

https://www.imageen.com/ieforum/topic.asp?whichpage=1&TOPIC_ID=5479#19266

Nigel
Xequte Software
www.imageen.com
HMArnold Posted - Oct 09 2022 : 04:33:06
Problem solved...

It turned out that although I had created the API Key, it wasn't "enabled", at least for Google Vision. Once I got to a Google Cloud account screen that had an "Enable" option and selected it, everything started working right away

HM Arnold