-
Using main.py test pic, the red part of the processed image turns blue |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
👋 Hello @yursling, thank you for reaching out and welcome to the Ultralytics community 🚀! No worries at all about your English—you're doing great! 😊 We recommend taking a look at the Docs, where you can find various Python and CLI examples that might help clarify common questions and workflows. If this is a 🐛 Bug Report (as it seems like you're facing some visual changes in the processed image), please provide a minimum reproducible example to help us debug your issue. For example, share the exact steps or code you’ve used, along with the version of If your query is more of a ❓ Question related to custom implementation, feel free to share more details about your workflow, like what version of TensorFlow Lite you're using and how you ran the Join the Ultralytics community for more support and discussions! You can:
UpgradeMake sure you're using the latest version of the pip install -U ultralytics EnvironmentsYOLO models like YOLOv8 and its TensorFlow Lite conversions can be tested in these verified environments for peak performance:
StatusYou can check CI test results for our project in the badge below: If this badge is green, all tests are passing as expected, verifying proper behavior and compatibility of all YOLO modes. This is an automated response to guide you in the right direction, but rest assured, an Ultralytics engineer will review your issue and assist you further soon. 🛠️ Thank you for your patience! |
Beta Was this translation helpful? Give feedback.
-
@yursling thank you for reaching out. The color change issue might be related to how the image is preprocessed or displayed in the example script. Ensure that the color channels (RGB/BGR) are handled correctly before and after processing. If the issue persists, please share a reproducible example, and we’ll take a closer look. |
Beta Was this translation helpful? Give feedback.
-
You can remove |
Beta Was this translation helpful? Give feedback.
You can remove
[..., ::-1]
from here:ultralytics/examples/YOLOv8-TFLite-Python/main.py
Line 218 in fbff76b