dyguay's picture
Update app.py
533a125
Raw History Blame Contribute Delete
1.36 kB
import gradio as gr
from ObjectDetector import Detector
detector = Detector()
iface = gr.Interface(detector.detectObject, gr.inputs.Image(), "image",
title="Object Detection API",
article="""Object detection is a computer vision technique that allows us to identify and locate objects in an image or video. With this kind of identification and localization, object detection can be used to count objects in a scene and determine and track their precise locations, all while accurately labeling them.
<br>
<a target="_blank" href="https://github.com/dyguay/object-detection-api">Github Link</a>
<br><br>
<footer id="main-footer">
Copyright &copy; 2021
</footer>""",
css="""
body {
background-color: #f4e1e6;
text-align: center;
font-size: 16px;
}
a {
color: #096ac5;
}
a:hover {
color: #096ac5;
}"""
)
iface.launch()