Spaces:
Running
on
Zero
Running
on
Zero
Having the coodinates be returned
#2
by
TotoB12
- opened
Would it be possible to additionaly have the box coordinates be returned with the Text Output? Thanks.
I appologize, I cannot figure out how to push to the branch I made, since this space is in Dev-mode.
Here is what I wanted to add:
Modified line 81
return image, str(parsed_content_list), str(label_coordinates)
Added line 108
with gr.Column():
image_output_component = gr.Image(type='pil', label='Image Output')
text_output_component = gr.Textbox(label='Parsed screen elements', placeholder='Text Output')
coordinates_output_component = gr.Textbox(label='Coordinates', placeholder='Coordinates Output') <-- this one
Modified line 125 (previously 124)
outputs=[image_output_component, text_output_component, coordinates_output_component]
Many thanks
hello @TotoB12 just read this issue - thanks for taking time investigating!
Will this output the coordinates as well?
awesome! is that something the community wants?