Skip to content

A simple image uploader and gallery that automatically classifies images using Google's Cloud Vision API and makes them searchable using Algolia

Notifications You must be signed in to change notification settings

martyndavies/cloud-vision-algolia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageBox

Whut?

An image uploader and gallery that uses Algolia and InstantSearch to search through uploaded images that have been auto-classified by Google Cloud Platform's Vision API.

What it could look like if you filled it with animal images...

Setup and install

To work with your own version of this repo, you'll need to set up a few things in advance:

Once you've got your credentials

Clone this repo and open the folder structure. Open the folder in your terminal and run:

npm install

Once all the libraries that the app depends on are installed you need to create an .env file in the folder to store all the different settings. You can copy the example below and replace the credentials with your own.

ALGOLIA_INDEX_NAME=imagebox-develop
ALGOLIA_APP_ID=your_algolia_app_id
ALGOLIA_ADMIN_KEY=your_algolia_admin_api_key
GOOGLE_APPLICATION_CREDENTIALS="google-service-account.json"

Note: You'll need to follow the guide for setting up the Google Service Account credentials to get your google-service-account.json set up. Get that from here (be sure to use the examples for NodeJS).

Then...

Run the app in development mode by typing npm run dev in your terminal.

About

A simple image uploader and gallery that automatically classifies images using Google's Cloud Vision API and makes them searchable using Algolia

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published