SmartBrain is a face recognition web application built with React. It allows users to input image URLs and detect faces within those images using the Clarifai API.
The project is divided into two repositories:
smartbrain
(this repository): Contains the front-end React applicationsmartbrain-api
: Contains the back-end API (separate repository)
- User registration and sign-in
- Image URL input
- Face detection using Clarifai API
- Rank tracking for number of images processed
- React 18.3.1
- react-parallax-tilt 1.7.234
- react-tsparticles 2.12.2
- Sass 1.77.8
- Tachyons 4.12.0
- Vite 5.3.5 (as build tool)
- Node.js (version 14 or later recommended)
- npm (comes with Node.js)
-
Clone the repository:
git clone https://github.com/yourusername/smartbrain.git cd smartbrain
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:5173
(or the port shown in your terminal)
- Register a new account or sign in
- Paste an image URL into the input field
- Click the "Detect" button to process the image
- View the detected faces highlighted on the image
For the full functionality of this application, you'll need to set up the backend API as well. Please refer to the smartbrain-api
repository for instructions on setting up the backend.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.