GoogleVision class
Integrates Google Vision features, including painter labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
annotate(
{required AnnotationRequests requests}) → Future< AnnotatedResponses> - Run detection and annotation for a batch of requests.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- accept → String
-
final
- contentType → String
-
final
- dio → Dio
-
final
- tokenExpiry → DateTime
-
final
- tokenGenerator ↔ TokenGenerator?
-
getter/setter pair
Static Methods
-
withGenerator(
TokenGenerator generator) → Future< GoogleVision> -
withJwt(
String credentials, [String scope = 'https://www.googleapis.com/auth/cloud-platform']) → Future< GoogleVision> - Authenticated with JWT.
-
withJwtFile(
String credentialsFileName, [String scope = 'https://www.googleapis.com/auth/cloud-platform']) → Future< GoogleVision> - Authenticated with JWT.