Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detections are not good if I hold my phone in landscape mode. #73

Closed
chiman-09 opened this issue Dec 28, 2024 · 2 comments
Closed

Detections are not good if I hold my phone in landscape mode. #73

chiman-09 opened this issue Dec 28, 2024 · 2 comments
Labels
bug Something isn't working detect Object Detection issues, PR's

Comments

@chiman-09
Copy link

I am able to get bounded boxes for all objects present in real-time only when the phone is held in portrait mode. If i rotate the phone the bounding boxes vanishes

@UltralyticsAssistant UltralyticsAssistant added bug Something isn't working detect Object Detection issues, PR's labels Dec 28, 2024
@UltralyticsAssistant
Copy link
Member

👋 Hello @chiman-09, thank you for submitting a ultralytics/yolo-ios-app 🚀 Issue. To help us address your concern efficiently, please provide the following information:

  1. For bug reports:

    • A clear and concise description of the bug (e.g., does this only happen in certain orientations or with certain objects?)
    • A minimum reproducible example (MRE)[https://docs.ultralytics.com/help/minimum_reproducible_example/] that demonstrates the issue (e.g., sample code or steps to replicate the bug)
    • Your device details (iOS version, device model)
    • App configuration or settings, if any were changed
    • Expected behavior vs. actual behavior (e.g., does detection completely stop or does it behave differently?)
    • Any error messages, logs, screenshots, or screen recordings that can help us troubleshoot the issue 📸
  2. For general context:

    • Describe any research or steps you've already taken to investigate the problem
    • If this could be related to specific device permissions (e.g., camera rotation handling) or system configurations, please let us know.

Please make sure to search existing issues to see if this problem has already been reported. If there's any additional information you’d like to share, don't hesitate to comment on this issue.

🔧 An Ultralytics engineer will review and assist with your issue as soon as possible. Thank you for helping us improve our projects! 😊

@pderrenger
Copy link
Member

@chiman-09 it seems like the issue might be related to inconsistent orientation or preprocessing of the input frames in landscape mode. Please ensure that your input frames are correctly oriented before passing them to the model. You can use OpenCV's cv2.rotate or similar methods to standardize the frame orientation. If the issue persists, verify with the latest version of the Ultralytics package and share more details if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working detect Object Detection issues, PR's
Projects
None yet
Development

No branches or pull requests

3 participants