Spaces:
Build error
Build error
Commit
β’
93d6740
1
Parent(s):
c0c8b3a
changed the output of pose
Browse files
app.py
CHANGED
@@ -294,9 +294,11 @@ inputs = [gr_image_input,
|
|
294 |
# Create user interface and launch: all outputs
|
295 |
gr_gallery_output = gr.Gallery(type="pil", label="Output Gallery")
|
296 |
gr_json_output = gr.JSON(label='megadetector json')
|
297 |
-
|
|
|
|
|
298 |
|
299 |
-
outputs = [gr_gallery_output, gr_json_output,
|
300 |
|
301 |
gr_title = "MegaDetector v5 + DLClive"
|
302 |
gr_description = "Detect and estimate the pose of animals in camera trap images, using MegaDetector v5a + DeepLabCut-live. \
|
|
|
294 |
# Create user interface and launch: all outputs
|
295 |
gr_gallery_output = gr.Gallery(type="pil", label="Output Gallery")
|
296 |
gr_json_output = gr.JSON(label='megadetector json')
|
297 |
+
gr_pose_output = gr.Dataframe(headers=['bodypart', 'x', 'y', 'confidence'],
|
298 |
+
#row_count = number of bodyparts,
|
299 |
+
label='pose coordinates')
|
300 |
|
301 |
+
outputs = [gr_gallery_output, gr_json_output, gr_pose_output]
|
302 |
|
303 |
gr_title = "MegaDetector v5 + DLClive"
|
304 |
gr_description = "Detect and estimate the pose of animals in camera trap images, using MegaDetector v5a + DeepLabCut-live. \
|