roboflow/roboflow-python

predict() for URLs sets image_dims to "Undefined"

Opened this issue · 1 comments

When calling model.predict('https://example.com/test.jpg) with a URL the response contains:

results.image_dims
{'width': 'Undefined', 'height': 'Undefined'}

Which is unfortunate since the Roboflow server (or inference library) is calculating the width/height in order to return bounding boxes in image coordinates.

This would be helpful, so library users don't have to also download the image to calculate it's width/height.

Hi @saschwarz , could you give more information about your code? For example, what model you are using?