File size: 1,176 Bytes
fd9637e
a887ec1
 
 
 
fd9637e
6ef905d
fd9637e
 
a887ec1
fd9637e
 
a887ec1
 
 
 
 
 
 
 
 
 
329076f
a887ec1
 
 
 
538c39e
a887ec1
 
 
329076f
a887ec1
329076f
 
a887ec1
329076f
a887ec1
329076f
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
title: Amazon Trailer Inspector
emoji: πŸš›
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: "5.29.0"
app_file: app.py
pinned: false
license: mit
---

# πŸš› Amazon Trailer Inspector

AI-powered pipeline that verifies **4 required components** in Amazon trailer photos using free vision LLMs.

## Detected components

| Component | Description |
|-----------|-------------|
| πŸ”· **Sensors** | Two diamond-shaped metal plates near rear doors |
| πŸ“‘ **GPS Device** | White rectangular box at the upper corner |
| πŸ”Ά **Prime Logo** | Amazon Prime logo / arrow swoosh |
| 🏷️ **Trailer ID Label** | Vertical green ID strip on the corner post |

## How to use

1. Upload one or more photos of the same trailer
2. Click **Analyze Trailer**
3. See βœ… Found / ❌ Missing for each component

## Setup (required)

Space Settings β†’ **Repository Secrets** β†’ add `HF_TOKEN`
(free Read token from [huggingface.co/settings/tokens](https://huggingface.co/settings/tokens))

## Models used (free tier, tried in order)

1. `meta-llama/Llama-3.2-11B-Vision-Instruct` β€” primary
2. `Qwen/Qwen2.5-VL-7B-Instruct` β€” fallback 1
3. `google/gemma-3-4b-it` β€” fallback 2