Update app.py
Browse files
app.py
CHANGED
|
@@ -81,18 +81,18 @@ with gr.Blocks() as demo:
|
|
| 81 |
gr.Markdown(
|
| 82 |
"""
|
| 83 |
# Instructions
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
|
| 97 |
'\*' If the binary mask is all black and the polygon is an empty list, it means the program did
|
| 98 |
not find any segment in the bbox. Make the bbox a little big bigger if that happens.
|
|
|
|
| 81 |
gr.Markdown(
|
| 82 |
"""
|
| 83 |
# Instructions
|
| 84 |
+
1. Upload the image and press 'Send Image'.
|
| 85 |
+
2. Wait until the word 'Done' appears on the 'Status' box.
|
| 86 |
+
3. Click on the image where the upper left corner of the bbox should be.
|
| 87 |
+
4. Click on the image where the lower right corner of the bbox should be.
|
| 88 |
+
5. Check the coordinates using the 'bbox' box.
|
| 89 |
+
6. Click on 'Send bounding box'.
|
| 90 |
+
7. On the right side you will see the binary mask '\*'.
|
| 91 |
+
8. On the lower side you will see the points that made up the polygon '\*'.
|
| 92 |
+
9. Click on 'Clear bbox' to send another bounding box and repeat the steps from the thrid step.
|
| 93 |
+
10. Repeat steps 3 to 9 until all the segments for this image are done.
|
| 94 |
+
11. Click on the right corner of the image to remove it and repeat all the steps with the next
|
| 95 |
+
image.
|
| 96 |
|
| 97 |
'\*' If the binary mask is all black and the polygon is an empty list, it means the program did
|
| 98 |
not find any segment in the bbox. Make the bbox a little big bigger if that happens.
|