just try to flip the image for now
Browse files
app.py
CHANGED
@@ -54,5 +54,9 @@ def redact_image(img):
|
|
54 |
car_mask = ban_cars_mask[mask]
|
55 |
return display_mask(img, car_mask)
|
56 |
|
57 |
-
|
|
|
|
|
|
|
|
|
58 |
iface.launch()
|
|
|
54 |
car_mask = ban_cars_mask[mask]
|
55 |
return display_mask(img, car_mask)
|
56 |
|
57 |
+
def flip(img):
|
58 |
+
return np.flipud(img)
|
59 |
+
|
60 |
+
|
61 |
+
iface = gr.Interface(flip, gr.Image(sources=["webcam"], streaming=True), "image", live=True)
|
62 |
iface.launch()
|