Spaces:
Running
Running
Commit
·
0b380f9
1
Parent(s):
019f24f
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ compiled_model = ie.compile_model(model=model, device_name="CPU")
|
|
| 11 |
|
| 12 |
output_layer = compiled_model.output(0)
|
| 13 |
|
| 14 |
-
# The MobileNet model expects images in RGB format
|
| 15 |
image = cv2.cvtColor(cv2.imread(filename="coco.jpg"), code=cv2.COLOR_BGR2RGB)
|
| 16 |
|
| 17 |
# Resize to MobileNet image shape.
|
|
|
|
| 11 |
|
| 12 |
output_layer = compiled_model.output(0)
|
| 13 |
|
| 14 |
+
# The MobileNet model expects images in RGB format
|
| 15 |
image = cv2.cvtColor(cv2.imread(filename="coco.jpg"), code=cv2.COLOR_BGR2RGB)
|
| 16 |
|
| 17 |
# Resize to MobileNet image shape.
|