{"id":24783190,"url":"https://github.com/thatlinuxguyyouknow/object-detection-frontend","last_synced_at":"2026-04-13T00:44:30.039Z","repository":{"id":272303097,"uuid":"914026103","full_name":"ThatLinuxGuyYouKnow/Object-Detection-FrontEnd","owner":"ThatLinuxGuyYouKnow","description":"Front End for an Object Detection Project, built with Next.js","archived":false,"fork":false,"pushed_at":"2025-01-15T23:59:01.000Z","size":782,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T12:15:54.793Z","etag":null,"topics":["nextjs","reactjs"],"latest_commit_sha":null,"homepage":"https://object-detection-pearl.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThatLinuxGuyYouKnow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-08T20:01:57.000Z","updated_at":"2025-01-15T23:59:02.000Z","dependencies_parsed_at":"2025-01-16T00:57:19.004Z","dependency_job_id":null,"html_url":"https://github.com/ThatLinuxGuyYouKnow/Object-Detection-FrontEnd","commit_stats":null,"previous_names":["thatlinuxguyyouknow/object-detection","thatlinuxguyyouknow/object-detection-frontend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatLinuxGuyYouKnow%2FObject-Detection-FrontEnd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatLinuxGuyYouKnow%2FObject-Detection-FrontEnd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatLinuxGuyYouKnow%2FObject-Detection-FrontEnd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatLinuxGuyYouKnow%2FObject-Detection-FrontEnd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThatLinuxGuyYouKnow","download_url":"https://codeload.github.com/ThatLinuxGuyYouKnow/Object-Detection-FrontEnd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245220499,"owners_count":20579796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nextjs","reactjs"],"created_at":"2025-01-29T12:15:56.680Z","updated_at":"2026-04-13T00:44:30.007Z","avatar_url":"https://github.com/ThatLinuxGuyYouKnow.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Object Detection(and image analysis) Frontend\n\n![React](https://img.shields.io/badge/React-18.0+-blue.svg)\n![TypeScript](https://img.shields.io/badge/TypeScript-5.0+-blue.svg)\n![Tailwind CSS](https://img.shields.io/badge/Tailwind-3.0+-green.svg)\n![shadcn/ui](https://img.shields.io/badge/shadcn%2Fui-latest-purple.svg)\n![License](https://img.shields.io/badge/license-MIT-blue.svg)\n\nAn interface for uploading and analyzing images using different processing modes.\n\n## First, a sample\n\n![Aachen](image.png)\n\n## Features\n\n- Clean, modern UI built with shadcn/ui components\n- Three processing modes:\n  - General object detection with visual results\n  - AI-powered scene analysis\n  - Detailed report generation\n- Real-time processing status feedback\n- Error handling with user-friendly messages\n- Responsive design with Tailwind CSS\n- Type-safe implementation with TypeScript\n\n## Getting Started\n\n1. Install dependencies:\n```bash\nnpm install --force\n# or\nyarn install\n```\n\n2. Configure the backend URL in `logic/imageProcessing.ts` (currently set to `http://127.0.0.1:5000`)\n\n3. Start the development server:\n```bash\nnpm run dev\n# or\nyarn dev\n```\n\n\n### Image Processing Functions\nLocated in `logic/imageProcessing.ts`:\n- `analyzeImage`: Get AI analysis of the image\n- `generateImageReport`: Generate detailed scene report\n- `detectObjects`: Perform object detection with bounding boxes\n\n## API Integration\n\nThe frontend interacts with three backend endpoints:\n\n### 1. Object Detection\n```typescript\nPOST /detect\nContent-Type: multipart/form-data\nBody: FormData with 'image' field\nResponse: Blob (processed image)\n```\n\n### 2. Analysis\n```typescript\nPOST /analyse\nContent-Type: multipart/form-data\nBody: FormData with 'file' field\nResponse: { data: { analysis: string } }\n```\n\n### 3. Report Generation\n```typescript\nPOST /report\nContent-Type: multipart/form-data\nBody: FormData with 'file' field\nResponse: { data: { report: string } }\n```\n\n## UI Components\n\nThe application uses the following shadcn/ui components:\n- Button\n- Input\n- Card (with CardHeader, CardContent, CardTitle)\n- Custom styling with Tailwind CSS\n\n\n### Prerequisites\n- Node.js 16+\n- npm or yarn\n- Backend service running (see backend README)\n\n\n## License\n\nMIT License","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatlinuxguyyouknow%2Fobject-detection-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthatlinuxguyyouknow%2Fobject-detection-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatlinuxguyyouknow%2Fobject-detection-frontend/lists"}