Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -44,21 +44,9 @@ def inference(image_path):
|
|
44 |
|
45 |
examples = ["examples/1.jpg", "examples/2.jpg", "examples/3.jpg"]
|
46 |
with gr.Blocks(theme='gradio/monochrome') as demo:
|
47 |
-
gr.Markdown("#
|
48 |
-
gr.Markdown("**
|
49 |
-
gr.Markdown(
|
50 |
-
"""This interactive demo is based on the Faster R-CNN model for object detection. The model is
|
51 |
-
trained using the [Detectron2](https://github.com/facebookresearch/detectron2) library with a custom
|
52 |
-
dataset that I created by combining images from [Tsinghua-Tencent100K](https://cg.cs.tsinghua.edu.cn/traffic-sign/) and [GTSDB](https://benchmark.ini.rub.de/), both of which provide real-world traffic signs captured within the autonomous driving domain.
|
53 |
|
54 |
-
To use the demo, simply upload an image and click on *"Infer"* to view the following results:
|
55 |
-
- **Detection**: outputs of Object Detector
|
56 |
-
- **Detection summary**: a summary of the detection outputs
|
57 |
-
|
58 |
-
You can also select an image from the cached **Examples** to quickly try out. Without clicking *"Infer"*, the cached outputs will be loaded automatically.
|
59 |
-
In case the output image seems too small, simply right-click on the image, and choose “Open image in new tab” to visualize it in full size.
|
60 |
-
"""
|
61 |
-
)
|
62 |
with gr.Row():
|
63 |
with gr.Column():
|
64 |
image = gr.Image(type="filepath")
|
|
|
44 |
|
45 |
examples = ["examples/1.jpg", "examples/2.jpg", "examples/3.jpg"]
|
46 |
with gr.Blocks(theme='gradio/monochrome') as demo:
|
47 |
+
gr.Markdown("# Detección de velocidad - one Shot - ")
|
48 |
+
gr.Markdown("**Edición**: *SITIA*")
|
|
|
|
|
|
|
|
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
with gr.Row():
|
51 |
with gr.Column():
|
52 |
image = gr.Image(type="filepath")
|