You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, I would like to express my gratitude for developing such a useful package that greatly enhances the implementation of object detection in Unity. It has been incredibly helpful.
I have identified an issue where the bounding boxes become disproportionately wide when the texture dimensions do not match the display aspect ratio. This seems to stem from not accounting for the texture's aspect ratio in the bounding box size calculation in the Invoke method.
Proposed Change:
Include the texture's aspect ratio in the bounding box size calculations to ensure that bounding boxes are scaled and positioned accurately relative to the objects they are meant to represent.
↓ Current Code (SsdSample)
Vector2size=(frameContainer.transform as RectTransform).rect.size;for(inti=0;i<10;i++){
SetFrame(frames[i], results[i], size);}
This modification will help to correct the aspect ratio of bounding boxes, making them more accurate and visually representative of the actual objects detected.
Hello,
Firstly, I would like to express my gratitude for developing such a useful package that greatly enhances the implementation of object detection in Unity. It has been incredibly helpful.
I have identified an issue where the bounding boxes become disproportionately wide when the texture dimensions do not match the display aspect ratio. This seems to stem from not accounting for the texture's aspect ratio in the bounding box size calculation in the Invoke method.
Proposed Change:
Include the texture's aspect ratio in the bounding box size calculations to ensure that bounding boxes are scaled and positioned accurately relative to the objects they are meant to represent.
↓ Current Code (SsdSample)
↓Suggested Modification (SsdSample)
This modification will help to correct the aspect ratio of bounding boxes, making them more accurate and visually representative of the actual objects detected.
Thank you once again for your incredible work.
[PR Link] : #357 (comment)
The text was updated successfully, but these errors were encountered: