AI-Powered Missing Person Identification Web App
git clone https://github.com/amugdg25/FindThemAI.git
cd FindThemAI
sudo apt install postgresql postgresql-server-dev-all
cd /tmp
git clone --branch v0.8.0 https://github.com/pgvector/pgvector.git
cd pgvector
make
sudo make install
cd FindThemAI/backend
python -m venv venv
source venv/bin/activate # Activate the virtual environment
pip install -r requirements.txt
sudo -i -u postgres
psql
Run the following SQL commands inside psql
:
CREATE USER alex WITH PASSWORD '12345';
CREATE DATABASE missing_persons_db OWNER alex;
\c missing_persons_db;
CREATE EXTENSION IF NOT EXISTS vector;
Restart PostgreSQL Service:
sudo systemctl restart postgresql
python init_db.py
uvicorn main:app --reload
Endpoint | Description |
---|---|
http://127.0.0.1:8000/api/v1/ |
Root API Endpoint |
http://127.0.0.1:8000/api/v1/register |
Register a new user |
http://127.0.0.1:8000/api/v1/token |
Login and obtain JWT token |
http://127.0.0.1:8000/api/v1/protected |
Test protected routes |
http://127.0.0.1:8000/api/v1/users |
Fetch all users |
http://127.0.0.1:8000/api/v1/users/<user_id> |
Get a specific user |
Create a missing person report | |
http://127.0.0.1:8000/api/v1/missing-persons |
Fetch all missing persons |
http://127.0.0.1:8000/api/v1/missing-persons/<person_id> |
Fetch a specific missing person |
http://127.0.0.1:8000/api/v1/missing-persons/<person_id>/image |
Fetch the missing person’s image |
http://127.0.0.1:8000/api/v1/found-person |
Search for a found person using facial recognition |
cd ../frontend
npm install
npm run dev
Here are some UI mockups demonstrating how the FindThemAI platform will look:
🔗 Visit: [FindThemAI Website (Click here)]