An open API service indexing awesome lists of open source software.

https://github.com/arjunan-k/smart_brain

React app with backend in node.js & database in PostgreSQL, which uses Clarifai API to detect the faces from a image.
https://github.com/arjunan-k/smart_brain

machine-learning nodejs react sql

Last synced: 2 months ago
JSON representation

React app with backend in node.js & database in PostgreSQL, which uses Clarifai API to detect the faces from a image.

Awesome Lists containing this project

README

        

#

Smart Brain


1. Clone this repo
2. Run `npm install`
3. Run `npm start`
4. Add your API key in the `backend gRPC or backend/controllers/image.js` file to connect to Clarifai API
5. Add your own database credentials to `server.js` in `backend/backend gRPC`

You can grab Clarifai API key [here](https://www.clarifai.com/)

Database Setup for Supabase or Local Host

```javascript
# Supabase
const db = knex({
client: 'pg',
connection: {
host : 'Grab host from Supabase Settings -> Database',
port : 5432,
user : 'postgres',
password : 'Password from Supabase',
database : 'postgres'
}
});
```
```javascript
# Local
const db = knex({
client: 'pg',
connection: {
host : '127.0.0.1',
port : 5432,
user : 'postgres',
password : 'password of your postgres user',
database : 'smartbrain'
}
});
```

https://user-images.githubusercontent.com/104669486/208252596-02c750f8-c214-4472-b09c-0d36f0e530f5.mp4

![](https://github.com/arjunan-k/Smart_Brain/blob/main/frontend/demo/01.png?raw=true)

![](https://github.com/arjunan-k/Smart_Brain/blob/main/frontend/demo/02.png?raw=true)

Made by Arjunan K

Back to top