Skip to content

recursivezero/tz-fabric

🧵 Fabric Analyzer

MIT Tag check Release

AI-powered web application that analyzes and search fabric images.

live on https://pro.threadzip.com

🚀 Features

🖼  Upload your own fabric images or use curated sample images
🔍 Choose between **Short** or **Long** analysis
🧠 Response caching for fast navigation (Prev/Next)
✅ Validates whether uploaded image is a proper fabric image
🧭 Drawer and navigation UI for enhanced experience
📤 Upload and record of fabric images and related audios
🔎 Search Similar images through a query
🤖 An agentic chatbot for fabric queries and task

🛠️ Tech Stack of Frontend

React
Typescript
css

Prerequisites to use react
->Node.js(v16 or later)
->npm(comes with the node)

🛠️ Tech Stack of Backend

Fastapi
Langchain agents
MCP
Groq
Pillow
CLIP

🛠️ Tech Stack of Databases

-> MongoDB
-> Vector DB

How to start

Clone the repo

🛋️ Frontend

cd tz-fabric
npm install  -> to download the node modules
npm run dev

🛋️ Backend

cd backend
curl -sSL https://install.python-poetry.org | python3 -
poetry install --all-extras --with dev
poetry run fabric dev

Sample .env

backend/.env

PORT=8000
GRQ_API_KEY=""
MONGODB_URI="mongodb://localhost:27017"

frontend/.env

VITE_API_URL="http://localhost:8000"

🖼️ Screenshots

Homepage

Homepage


Analysis Page

Analysis Analysis Feature


Upload Page

Upload UploadFeature


List Page

ListPage


Search Page

Search Page Search Crop Feature Search Page Feature


Chat Page

Chat Page Chat feature

📄 License

MIT

About

fabric AI tools for textile industry

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Contributors