Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bennyxguo/face-ai

Detects faces with AI.
https://github.com/bennyxguo/face-ai

face-detection face-recognition react tailwindcss

Last synced: 1 day ago
JSON representation

Detects faces with AI.

Awesome Lists containing this project

README

        



image



Face AI


Detects faces with AI.











![screenshot-1](https://res.cloudinary.com/tridiamond/image/upload/v1627134984/github%20images/screenshot-1_bnm51h.png)

## Intro

This application is developed base on the [smart-brain](https://github.com/aneagoie/smart-brain) application by `@Andrei Neagoie` on "[The Complete Junior to Senior Web Developer Roadmap](https://www.udemy.com/share/1013iu2@PkdKbFhaSVYNe0JAOGJOfg==/)" course. I have customized a lot of features in this application. Including the following:

- Added `notification`
- Whole application is written in `TypeScript`
- The `UI` is designed by TriDiamond with pure `TailwindCSS`
- Refactored project structure into `application feature-based split`, more info see [here](https://www.pluralsight.com/guides/how-to-organize-your-react-+-redux-codebase).
- Refactored API to use [RTK Query](https://redux-toolkit.js.org/rtk-query/overview)

## Packages Used

- typescript
- tailwindcss
- redux + @reduxjs/toolkit
- axios
- classnames
- react
- particles-js + tsparticles
- react-router-dom

## Backend

The backend of this application is in another repo [face-ai-api](https://github.com/TriDiamond/face-ai-api).

## Development

Clone the repo onto your local machine, then install all the dependencies:

```shell
npm install

# or

yarn install
```

To run the application run:

```shell
npm run start

# or

yarn start
```

> **Note**: For this application to work, you will need to also setup the [face-ai-api](https://github.com/TriDiamond/face-ai-api) backend.

Last but not least, add a `.env` file in the root folder with the following content:

```shell
REACT_APP_API_URL=http://localhost:3030 # change this is your backend setup to a different port.
REACT_APP_STORAGE_KEY=_faiu_eislfijsl # just a random string.
```