hoangvu5 commited on
Commit
d3266e5
·
1 Parent(s): 677a3d9

Add FastAPI server

Browse files
Files changed (8) hide show
  1. .gitattributes +1 -0
  2. .gitignore +174 -0
  3. Dockerfile +15 -0
  4. app.py +53 -0
  5. models/best.pt +3 -0
  6. models/config.yaml +50 -0
  7. models/data.yaml +508 -0
  8. requirements.txt +4 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ models/best.pt filter=lfs diff=lfs merge=lfs -text
.gitignore ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ #Pipfile.lock
96
+
97
+ # UV
98
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ #uv.lock
102
+
103
+ # poetry
104
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
106
+ # commonly ignored for libraries.
107
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108
+ #poetry.lock
109
+
110
+ # pdm
111
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
112
+ #pdm.lock
113
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
114
+ # in version control.
115
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
116
+ .pdm.toml
117
+ .pdm-python
118
+ .pdm-build/
119
+
120
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
121
+ __pypackages__/
122
+
123
+ # Celery stuff
124
+ celerybeat-schedule
125
+ celerybeat.pid
126
+
127
+ # SageMath parsed files
128
+ *.sage.py
129
+
130
+ # Environments
131
+ .env
132
+ .venv
133
+ env/
134
+ venv/
135
+ ENV/
136
+ env.bak/
137
+ venv.bak/
138
+
139
+ # Spyder project settings
140
+ .spyderproject
141
+ .spyproject
142
+
143
+ # Rope project settings
144
+ .ropeproject
145
+
146
+ # mkdocs documentation
147
+ /site
148
+
149
+ # mypy
150
+ .mypy_cache/
151
+ .dmypy.json
152
+ dmypy.json
153
+
154
+ # Pyre type checker
155
+ .pyre/
156
+
157
+ # pytype static type analyzer
158
+ .pytype/
159
+
160
+ # Cython debug symbols
161
+ cython_debug/
162
+
163
+ # PyCharm
164
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
165
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
166
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
167
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
168
+ #.idea/
169
+
170
+ # PyPI configuration file
171
+ .pypirc
172
+
173
+ output/
174
+ uploads/
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+
3
+ RUN useradd -m -u 1000 user
4
+ USER user
5
+ ENV PATH="/home/user/.local/bin:$PATH"
6
+
7
+ WORKDIR /app
8
+
9
+ COPY --chown=user ./requirements.txt requirements.txt
10
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
+
12
+ RUN pip uninstall -y opencv-python && pip install --no-cache-dir opencv-python-headless
13
+
14
+ COPY --chown=user . /app
15
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
app.py ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import uuid
3
+ import yaml
4
+ from fastapi import FastAPI, File, UploadFile
5
+ from fastapi.responses import JSONResponse
6
+ from ultralytics import YOLO
7
+
8
+ CONFIG_PATH = "./models/config.yaml"
9
+ WEIGHT_PATH = "./models/best.pt"
10
+ DATA_PATH = "./models/data.yaml"
11
+
12
+ # Load class names from data.yaml
13
+ with open(DATA_PATH, "r") as f:
14
+ data_config = yaml.safe_load(f)
15
+ CLASS_NAMES = data_config.get("names", [])
16
+
17
+ # Load YOLO model
18
+ model = YOLO(CONFIG_PATH, task="detect").load(WEIGHT_PATH)
19
+
20
+ app = FastAPI()
21
+
22
+ UPLOAD_FOLDER = "uploads"
23
+ OUTPUT_FOLDER = "output"
24
+ os.makedirs(UPLOAD_FOLDER, exist_ok=True)
25
+ os.makedirs(OUTPUT_FOLDER, exist_ok=True)
26
+
27
+ @app.post("/predict")
28
+ async def predict(image: UploadFile = File(...)):
29
+ filename = str(uuid.uuid4()) + "_" + image.filename
30
+ img_path = os.path.join(UPLOAD_FOLDER, filename)
31
+
32
+ with open(img_path, "wb") as buffer:
33
+ buffer.write(await image.read())
34
+
35
+ results = model(img_path, conf=0.2)
36
+
37
+ detected_classes = set()
38
+
39
+ for result in results:
40
+ for box in result.boxes.data.tolist():
41
+ _, _, _, _, _, class_id = box
42
+ if 0 <= int(class_id) < len(CLASS_NAMES):
43
+ detected_classes.add(CLASS_NAMES[int(class_id)])
44
+
45
+ output_img_path = os.path.join(OUTPUT_FOLDER, filename)
46
+ results[0].save(filename=output_img_path)
47
+
48
+ os.remove(img_path)
49
+
50
+ if not detected_classes:
51
+ return JSONResponse(content={"error": "No objects detected"}, status_code=204)
52
+
53
+ return JSONResponse(content={"items": list(detected_classes), "annotated_image": output_img_path})
models/best.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b74959c96b6bab6eacd675a9d7e1cd618cb51f727b44d8666d745292ae6b9a47
3
+ size 5910035
models/config.yaml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license
2
+
3
+ # Ultralytics YOLO11 object detection model with P3/8 - P5/32 outputs
4
+ # Model docs: https://docs.ultralytics.com/models/yolo11
5
+ # Task docs: https://docs.ultralytics.com/tasks/detect
6
+
7
+ # Parameters
8
+ nc: 503 # number of classes
9
+ scales: # model compound scaling constants, i.e. 'model=yolo11n.yaml' will call yolo11.yaml with scale 'n'
10
+ # [depth, width, max_channels]
11
+ n: [0.50, 0.25, 1024] # summary: 319 layers, 2624080 parameters, 2624064 gradients, 6.6 GFLOPs
12
+ s: [0.50, 0.50, 1024] # summary: 319 layers, 9458752 parameters, 9458736 gradients, 21.7 GFLOPs
13
+ m: [0.50, 1.00, 512] # summary: 409 layers, 20114688 parameters, 20114672 gradients, 68.5 GFLOPs
14
+ l: [1.00, 1.00, 512] # summary: 631 layers, 25372160 parameters, 25372144 gradients, 87.6 GFLOPs
15
+ x: [1.00, 1.50, 512] # summary: 631 layers, 56966176 parameters, 56966160 gradients, 196.0 GFLOPs
16
+
17
+ # YOLO11n backbone
18
+ backbone:
19
+ # [from, repeats, module, args]
20
+ - [-1, 1, Conv, [64, 3, 2]] # 0-P1/2
21
+ - [-1, 1, Conv, [128, 3, 2]] # 1-P2/4
22
+ - [-1, 2, C3k2, [256, False, 0.25]]
23
+ - [-1, 1, Conv, [256, 3, 2]] # 3-P3/8
24
+ - [-1, 2, C3k2, [512, False, 0.25]]
25
+ - [-1, 1, Conv, [512, 3, 2]] # 5-P4/16
26
+ - [-1, 2, C3k2, [512, True]]
27
+ - [-1, 1, Conv, [1024, 3, 2]] # 7-P5/32
28
+ - [-1, 2, C3k2, [1024, True]]
29
+ - [-1, 1, SPPF, [1024, 5]] # 9
30
+ - [-1, 2, C2PSA, [1024]] # 10
31
+
32
+ # YOLO11n head
33
+ head:
34
+ - [-1, 1, nn.Upsample, [None, 2, "nearest"]]
35
+ - [[-1, 6], 1, Concat, [1]] # cat backbone P4
36
+ - [-1, 2, C3k2, [512, False]] # 13
37
+
38
+ - [-1, 1, nn.Upsample, [None, 2, "nearest"]]
39
+ - [[-1, 4], 1, Concat, [1]] # cat backbone P3
40
+ - [-1, 2, C3k2, [256, False]] # 16 (P3/8-small)
41
+
42
+ - [-1, 1, Conv, [256, 3, 2]]
43
+ - [[-1, 13], 1, Concat, [1]] # cat head P4
44
+ - [-1, 2, C3k2, [512, False]] # 19 (P4/16-medium)
45
+
46
+ - [-1, 1, Conv, [512, 3, 2]]
47
+ - [[-1, 10], 1, Concat, [1]] # cat head P5
48
+ - [-1, 2, C3k2, [1024, True]] # 22 (P5/32-large)
49
+
50
+ - [[16, 19, 22], 1, Detect, [nc]] # Detect(P3, P4, P5)
models/data.yaml ADDED
@@ -0,0 +1,508 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ names:
2
+ - '-'
3
+ - 555 sardines in tomato sauce
4
+ - 555 tuna afritada
5
+ - 555 tuna caldereta
6
+ - 7up
7
+ - absolute pure distilled drinking water
8
+ - agnesi polenta
9
+ - akabare khursani
10
+ - alaska classic sweetened condensed filled milk
11
+ - alaska condensada
12
+ - alaska evaporada
13
+ - all natural seasons tropical fruit
14
+ - almond
15
+ - almond milk
16
+ - angel all purpose creamer
17
+ - aook
18
+ - apple
19
+ - apples
20
+ - aqua life filtration systems
21
+ - argentina corned beef
22
+ - argentina giniling
23
+ - argentina meat loaf
24
+ - artichoke
25
+ - ash gourd
26
+ - asparagus
27
+ - avocado
28
+ - bacon
29
+ - bamboo shoots
30
+ - banana
31
+ - bananas
32
+ - basmati rice
33
+ - bazlama
34
+ - beans
35
+ - bear brand fortified powdered drink milk
36
+ - bear brand swak pack chocomilk
37
+ - beaten rice
38
+ - beef
39
+ - beetroot
40
+ - bell pepper
41
+ - bethu ko saag
42
+ - bingo double choco
43
+ - bingo orange cream
44
+ - bitter gourd
45
+ - black beans
46
+ - black lentils
47
+ - blackberry
48
+ - blue lychee
49
+ - blueberry
50
+ - bok choy
51
+ - book
52
+ - bottle gourd
53
+ - bread
54
+ - broad beans
55
+ - broccoli
56
+ - brussel sprouts
57
+ - buff meat
58
+ - butter
59
+ - c2 apple green tea
60
+ - c2 lemon green tea
61
+ - cabbage
62
+ - cadbury dairy milk
63
+ - cadbury dairy milk wholenut
64
+ - calamansi
65
+ - califlower
66
+ - calvin klein
67
+ - cantaloupe
68
+ - capsicum
69
+ - carrot
70
+ - carrots
71
+ - cassava
72
+ - cauliflower
73
+ - cdo funtastyk chicken tocino
74
+ - cdo karne norte classic
75
+ - cdo meat loaf
76
+ - century tuna flakes in oil
77
+ - cereal
78
+ - cerealbox
79
+ - chayote
80
+ - cheese
81
+ - cheez whiz original
82
+ - chicken
83
+ - chicken gizzards
84
+ - chickpeas
85
+ - chili pepper
86
+ - chili powder
87
+ - chilli
88
+ - chillies
89
+ - chips ahoy milka
90
+ - chockolate
91
+ - choco chum choco
92
+ - choco chum white choco
93
+ - choco mucho cookie sandwich white chocolate
94
+ - choco mucho dark chocolate
95
+ - choco mucho milk chocolate
96
+ - choco mucho white chocolate
97
+ - chocolate
98
+ - chowmein noodles
99
+ - cinnamon
100
+ - clementine
101
+ - cobra energy drink
102
+ - coca cola coke zero
103
+ - coca cola original
104
+ - coca cola original in can
105
+ - coca cola royal
106
+ - coca cola sprite
107
+ - coca cola sprite in can
108
+ - coca cola zero sugar
109
+ - coca cola zero sugar in can
110
+ - coffe
111
+ - coffee
112
+ - combi triple choco
113
+ - cookie
114
+ - coriander
115
+ - corn
116
+ - cornflakec
117
+ - courgates
118
+ - crab meat
119
+ - cream
120
+ - cucumber
121
+ - dabur honey
122
+ - daily quezo
123
+ - dates
124
+ - datu puti soy sauce
125
+ - datu puti vinegar
126
+ - del monte creamy and cheesy sphagetti sauce
127
+ - del monte fiesta fruit cocktail
128
+ - del monte fiilipino style spaghetti sauce
129
+ - del monte filipino style spaghetti sauce
130
+ - del monte four seasons
131
+ - del monte italian style spaghetti sauce
132
+ - del monte mango juice drink
133
+ - del monte original style tomato sauce
134
+ - del monte pineapple juice drink heart smart
135
+ - del monte pineapple juice with vitamins ace
136
+ - del monte pineapple tidbits
137
+ - del monte potato crisp biscuit original
138
+ - del monte sweet style sphagetti sauce
139
+ - del monte sweetened pineapple juice drink
140
+ - delfi knick knacks strawberry
141
+ - delight duo active probiotic fiber
142
+ - detergent
143
+ - don frank buko pandan gulaman powder
144
+ - doowee donut strawberry dipped donut with strawberry flavored
145
+ - doowee donut white choco frost with milky cream flavored
146
+ - doreen sweetened condensed creamer
147
+ - doritos nacho cheese
148
+ - dr pepper
149
+ - drinks
150
+ - ec crunchy choco flakes
151
+ - eden original
152
+ - egg
153
+ - eggplant
154
+ - eggs
155
+ - el rancho corned beef
156
+ - farsi ko munta
157
+ - ferrero rocher
158
+ - fibisco choco mallows
159
+ - fibisco hi ro chocolate flavored
160
+ - fibisco the ultimate chocolate chip cookies
161
+ - fiddlehead ferns
162
+ - fish
163
+ - flour
164
+ - fudgee barr chocolate
165
+ - fudgee barr macapuno
166
+ - fudgee barr milk custard
167
+ - fudgee barr vanilla
168
+ - galia
169
+ - galinco chips delight chocolate chip cookies
170
+ - galinco chips delight striped cappuccino cookies
171
+ - galinco chips delight striped chocolate cookies
172
+ - garden cress
173
+ - garden peas
174
+ - garlic
175
+ - gatorade blue bolt
176
+ - gatorade fierce grape
177
+ - gatorade fierce tropical fruit
178
+ - ginger
179
+ - glico pocky chocolate
180
+ - glico pocky strawberry
181
+ - goya almond in milk chocolate
182
+ - goya choco spread
183
+ - goya cream white chocolate
184
+ - goya dark chocolate
185
+ - goya milk chocolate
186
+ - goya take it 4 fingers
187
+ - goya take it dark chocolate
188
+ - goya very berries
189
+ - goya winter chill milk chocolate
190
+ - granny goose tortillos cheese
191
+ - granny goose tortillos chili
192
+ - grapes
193
+ - great buy mushrooms pieces and stems
194
+ - great taste supreme toffee hazelnut
195
+ - green bell pepper
196
+ - green brinjal
197
+ - green chili
198
+ - green lentils
199
+ - green mint
200
+ - green peas
201
+ - green soyabean
202
+ - groats
203
+ - ground meat
204
+ - gundruk
205
+ - ham
206
+ - hansel chocolate sandwich
207
+ - hansel mocha sandwich
208
+ - heavy cream
209
+ - hokkaido mackerel
210
+ - honey dew
211
+ - honeydew
212
+ - ice
213
+ - ion supply drink pocari sweat
214
+ - jack daniels
215
+ - jack fruit
216
+ - jack n jill cheesy knots milky cheese flavored
217
+ - jack n jill chicharon ni mang juan
218
+ - jack n jill chippy barbecue
219
+ - jack n jill chippy chili and cheese
220
+ - jack n jill cloud 9 choco fudge
221
+ - jack n jill cloud 9 classic
222
+ - jack n jill cream o vanilla
223
+ - jack n jill dewberry blueberries n cream
224
+ - jack n jill dewberry blueberry cheesecake
225
+ - jack n jill hello chocolate
226
+ - jack n jill mr chips nacho cheese flavored
227
+ - jack n jill nips creamy tiramisu
228
+ - jack n jill nips dark chocolate
229
+ - jack n jill nips milk chocolate
230
+ - jack n jill nips peanut
231
+ - jack n jill nips white chocolate
232
+ - jack n jill nova cheddar flavor
233
+ - jack n jill piattos cheese
234
+ - jack n jill piattos cheese supersized
235
+ - jack n jill piattos roadhouse barbecue
236
+ - jack n jill piattos roast beef
237
+ - jack n jill piattos sour cream and onion
238
+ - jack n jill piattos sour cream and onion supersized
239
+ - jack n jill pic a ultimate cheddar
240
+ - jack n jill presto choco vanilla
241
+ - jack n jill presto chocolate
242
+ - jack n jill presto peanut
243
+ - jack n jill quake overload mocha butter
244
+ - jack n jill quake overload white choco
245
+ - jack n jill roller coaster cheddar cheese flavored
246
+ - jack n jill vcut spicy barbeque
247
+ - jalees bbq mushroom chicharon
248
+ - jalees garlic mushroom chicharon
249
+ - jersey chocolate condensed creamer
250
+ - jersey sweetened condensed creamer
251
+ - jinro chamisul original soju
252
+ - jinro grapefruit soju
253
+ - jinro green grape soju
254
+ - jinro peach soju
255
+ - jinro strawberry soju
256
+ - jolly mushrooms
257
+ - juan tasty
258
+ - juice
259
+ - jumpee chocolate
260
+ - ketchup
261
+ - kimchi
262
+ - king sue chicken tocino
263
+ - king sue pork tocino
264
+ - knorr liquid seasoning original
265
+ - kopiko brown coffee
266
+ - ladys choice real mayonnaise
267
+ - lapsi
268
+ - lays classic
269
+ - lays stax extra cheese flavour
270
+ - lays stax original
271
+ - lays stax sour cream and onion
272
+ - le mineral
273
+ - lemon
274
+ - lemon square lava cake chocolate
275
+ - lemon square lava cake cream bavarian
276
+ - lemons
277
+ - leslies clover chips cheesier
278
+ - leslies clover chips chili and cheese
279
+ - lettuce
280
+ - lime
281
+ - long beans
282
+ - lotte pepero almond
283
+ - lotte pepero original
284
+ - lucky me beef na beef noodles
285
+ - lucky me chicken na chicken noodles
286
+ - lucky me go cup batchoy
287
+ - lucky me go cup bulalo
288
+ - lucky me pancit canton chilimansi
289
+ - lucky me pancit canton extra hot chili
290
+ - lucky me pancit canton kalamansi
291
+ - m y san grahams
292
+ - m-ms chocolate
293
+ - magic chips barbeque flavored
294
+ - magic chips cheese flavored
295
+ - mango
296
+ - mars caramel chocolate bar
297
+ - masyaura
298
+ - mayonnaise
299
+ - mayora beng beng chocolate
300
+ - mayora cal cheese cheese wafer
301
+ - meat
302
+ - milk
303
+ - minced meat
304
+ - mini oreo original
305
+ - mirinda orange flavor
306
+ - moringa leaves
307
+ - mountain dew
308
+ - mozarella cheese
309
+ - mug root beer
310
+ - mushroom
311
+ - mussel
312
+ - mutton
313
+ - nagaraya garlic cracker nuts
314
+ - nectarine
315
+ - nescafe creamy latte twin pack
316
+ - nescafe creamy white twin pack
317
+ - nescafe original
318
+ - nespresso
319
+ - nestea lemon tea drink
320
+ - nestle all purpose cream
321
+ - nestle bear brand sterilized milk
322
+ - nestle gold corn flakes
323
+ - nestle koko krunch all in one
324
+ - nestle koko krunch chocolate
325
+ - nestle milo
326
+ - nissin bread stix
327
+ - nissin butter coconut
328
+ - nissin cup noodles beef
329
+ - nissin cup noodles seafood
330
+ - nissin cup noodles spicy hot beef
331
+ - nissin eggnog cookies
332
+ - noodle
333
+ - nutrela
334
+ - nutri snack cheez it cheese
335
+ - nutri snack moby caramel puffs
336
+ - nutri snack moby crunchy chocolate
337
+ - nutri snack peewee sizzling bbq
338
+ - o puff mango cream filled marshmallows
339
+ - oil
340
+ - oishi bread pan buttered toast
341
+ - oishi bread pan cheese and onion
342
+ - oishi bread pan toasted garlic
343
+ - oishi bread pan white cheddar cheese
344
+ - oishi cracklings salt and vinegar
345
+ - oishi crispy patata
346
+ - oishi fishda fish kropeck
347
+ - oishi kirei shrimp flavor
348
+ - oishi pillows choco filled crackers
349
+ - oishi pillows ube filled crackers
350
+ - oishi potato chips plain salted flavor
351
+ - oishi potato fries cheese
352
+ - oishi prawn crackers spicy flavor
353
+ - oishi rinbee cheese
354
+ - oishi sponge chocolate crunch
355
+ - ok cheese
356
+ - okra
357
+ - olive
358
+ - olive oil
359
+ - olives
360
+ - onion
361
+ - onion leaves
362
+ - orange
363
+ - oranges
364
+ - oreo chocolate cream
365
+ - oreo chocolate creme
366
+ - oreo double stuff
367
+ - oyster
368
+ - paco rabanne
369
+ - palak
370
+ - palungo
371
+ - pampangas best chicken longaniza
372
+ - pampangas best native longaniza
373
+ - pampangas best pampanga longaniza
374
+ - pampangas best smoked longaniza
375
+ - pampangas best tocino original
376
+ - paneer
377
+ - papaya
378
+ - parmesan cheese
379
+ - parsley
380
+ - pasta
381
+ - patanjali honey
382
+ - pea
383
+ - peach
384
+ - pear
385
+ - peas
386
+ - pedro domecq fundador solera
387
+ - pepsi
388
+ - pik nik
389
+ - pineapple
390
+ - pixel 4
391
+ - planet oat original
392
+ - plum
393
+ - pointed gourd
394
+ - pork
395
+ - pork rib
396
+ - potato
397
+ - pringles cheesy cheese
398
+ - pringles pizza
399
+ - pringles saucy bbq
400
+ - pringles sour cream and onion
401
+ - pumpkin
402
+ - pure foods chinese style luncheon meat
403
+ - queso cheese
404
+ - radish
405
+ - rahar ko daal
406
+ - rasp berries
407
+ - raspberries
408
+ - rayo ko saag
409
+ - rebisco choco crackers
410
+ - rebisco hansel crackers
411
+ - rebisco strawberry crackers
412
+ - red beans
413
+ - red bel pepper
414
+ - red bell pepper
415
+ - red lentils
416
+ - red onion
417
+ - refresh mineral water
418
+ - reno liver spread
419
+ - rice
420
+ - ritter sport nocciole intere
421
+ - royal elbow macaroni
422
+ - sajjyun
423
+ - salad
424
+ - salmon
425
+ - salt
426
+ - samsung s20
427
+ - san marino chili corned tuna
428
+ - san marino corned tuna
429
+ - sauce
430
+ - sausage
431
+ - sausages
432
+ - scallop
433
+ - seaweed
434
+ - selecta choco almond fudge
435
+ - selecta moo fortified chocolate
436
+ - selecta quezo real
437
+ - selecta strawberry solo pack
438
+ - shrimp
439
+ - sliced garlic
440
+ - snack pack choco crunchies chocolate
441
+ - snake gourd
442
+ - snickers
443
+ - soy sauce
444
+ - soyabean
445
+ - spinace
446
+ - spinach
447
+ - sponge gourd
448
+ - spring onion
449
+ - squash
450
+ - stateline loaded chocolate filled
451
+ - sticko chocolate
452
+ - stinging nettle
453
+ - straw berry
454
+ - strawberry
455
+ - sugar
456
+ - summit drinking water
457
+ - super delights brownie bites chocolate
458
+ - super golden bihon
459
+ - sweet potato
460
+ - sweetcorn
461
+ - swiss miss chocolate milk blend
462
+ - tang pineapple
463
+ - taro leaves
464
+ - taro root
465
+ - thukpa noodles
466
+ - tida
467
+ - toast bread
468
+ - toblerone white chocolate
469
+ - todays mixed fruit
470
+ - tofu
471
+ - tomato
472
+ - tomato paste
473
+ - topss choco
474
+ - tori ko saag
475
+ - tree tomato
476
+ - tropicana
477
+ - tuna
478
+ - turnip
479
+ - uni pak premium sardines
480
+ - vicente vidal queso y cebolla
481
+ - vitamilk choco shake
482
+ - vitamilk double choco shake
483
+ - vitasoy original
484
+ - vitasoy plus original
485
+ - wallnut
486
+ - water
487
+ - water melon
488
+ - watermelon
489
+ - wattermelon
490
+ - wheat
491
+ - wilkins sparkling water
492
+ - yakult probiotics
493
+ - yellow bell pepper
494
+ - yellow lentils
495
+ - yoghurt
496
+ - yogurt
497
+ - ys quality nata de coco green
498
+ - yum yum strawberry snack
499
+ - zesto big apple
500
+ - zesto big grapes
501
+ - zesto big mango
502
+ - zesto big orange
503
+ - zesto big pineapple
504
+ - zucchini
505
+ nc: 503
506
+ test: ../test/images
507
+ train: ../train/images
508
+ val: ../valid/images
requirements.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ fastapi
2
+ uvicorn[standard]
3
+ ultralytics
4
+ python-multipart