TattooTrace integrates advanced machine learning models like YOLOv5 and CLIP to analyze and identify tattoos from images and videos. Leveraging the robust backend of Immich, this tool aims to support efforts to combat and understand human trafficking dynamics.
10
stars
2
commits
TypeScript
primary language
May 13, 2024
updated
TattooTrace integrates advanced machine learning models like YOLOv5 and CLIP to analyze and identify tattoos from images and videos. Leveraging the robust backend of Immich, this tool aims to support efforts to combat and understand human trafficking dynamics.
Clone the YOLOv5 Repository
git clone https://github.com/ultralytics/yolov5
cd yolov5
Install Dependencies
pip install -r requirements.txt
Download Pre-trained Weights Download the YOLOv5s model weights Link
Inference
cd
python detect.py --source /path/to/images --weights best.pt --conf 0.25
python detect.py --source /path/to/video.mp4 --weights best.pt --conf 0.25
Output
cd yolov5 Tattoo Recognition/detected/exp6
Frontend Setup
cd clip/frontend/clip-app
npm install
npm start
This will start the frontend application at http://localhost:3000.
Backend Setup
cd clip/backend/
python app.py
Environment Setup Ensure Docker Desktop is installed and running on your system. Navigate to the main Immich directory:
cd immich
Configuration
Modify docker/.env to set the UPLOAD_LOCATION environment variable.
Model Weights Download the model weights and place them in:
/immich/machine-learning/app/models/weight/
Build and Run From the Immich directory, execute:
make dev
Access the development instance at http://localhost:3000.
Contributions are welcome! Please refer to the CONTRIBUTING.md for guidelines on how to contribute effectively to this project.
2 commits
TypeScript
43.8%
Dart
23.9%
Python
15.0%
Svelte
13.9%
MDX
1.0%
TattooTrace integrates advanced machine learning models like YOLOv5 and CLIP to analyze and identify tattoos from images and videos. Leveraging the robust backend of Immich, this tool aims to support efforts to combat and understand human trafficking dynamics.
10
stars
2
commits
TypeScript
primary language
May 13, 2024
updated
TattooTrace integrates advanced machine learning models like YOLOv5 and CLIP to analyze and identify tattoos from images and videos. Leveraging the robust backend of Immich, this tool aims to support efforts to combat and understand human trafficking dynamics.
Clone the YOLOv5 Repository
git clone https://github.com/ultralytics/yolov5
cd yolov5
Install Dependencies
pip install -r requirements.txt
Download Pre-trained Weights Download the YOLOv5s model weights Link
Inference
cd
python detect.py --source /path/to/images --weights best.pt --conf 0.25
python detect.py --source /path/to/video.mp4 --weights best.pt --conf 0.25
Output
cd yolov5 Tattoo Recognition/detected/exp6
Frontend Setup
cd clip/frontend/clip-app
npm install
npm start
This will start the frontend application at http://localhost:3000.
Backend Setup
cd clip/backend/
python app.py
Environment Setup Ensure Docker Desktop is installed and running on your system. Navigate to the main Immich directory:
cd immich
Configuration
Modify docker/.env to set the UPLOAD_LOCATION environment variable.
Model Weights Download the model weights and place them in:
/immich/machine-learning/app/models/weight/
Build and Run From the Immich directory, execute:
make dev
Access the development instance at http://localhost:3000.
Contributions are welcome! Please refer to the CONTRIBUTING.md for guidelines on how to contribute effectively to this project.
2 commits
TypeScript
43.8%
Dart
23.9%
Python
15.0%
Svelte
13.9%
MDX
1.0%