Skip to content

AnneLivia/CloudVisionAPI-Backend

Repository files navigation

CloudVisionAPI-Backend

GitHub license Google Cloud Vision Node JS Express JavaScript

An API developed to allow requests to Cloud Vision API features

Setup

In order to run this project you must create a folder called config inside src folder. Inside config you must place your service account's credentials downloaded from GCP. This credential is required to use Cloud Vision API.

API endpoints:

Documentation

By going to http://localhost:4000/api-docs, you can check the documentation of the API

HTTP request Description Request Query Request File
POST /api/useCloudVisionAPI Execute a specific Cloud Vision Feature option=CLOUD_VISION_OPTION Multipart FormData, with an image field containing a PNG, JPEG or JPG image (Maximum size of 10 MB)

API Available Options

This API allows to execute the following features that must be provided in the following way: (.../api/useCloudVisionAPI/?option=THEOPTIONHERE)

  • DOCUMENT_TEXT_DETECTION
  • FACE_DETECTION
  • LABEL_DETECTION
  • LANDMARK_DETECTION
  • OBJECT_LOCALIZATION
  • SAFE_SEARCH_DETECTION
  • TEXT_DETECTION
  • WEB_DETECTION

Frontend Application


© Developed by Anne Livia

About

An API developed to request to Cloud Vision API features

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors