ultralytics 8.3.10 Apple iPhone HEIC support (#16853)
Signed-off-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
1e5e612f83
commit
02d5c290e6
6 changed files with 177 additions and 89 deletions
|
|
@ -381,7 +381,7 @@ class BasePredictor:
|
|||
|
||||
# Save images
|
||||
else:
|
||||
cv2.imwrite(save_path, im)
|
||||
cv2.imwrite(str(Path(save_path).with_suffix(".jpg")), im) # save to JPG for best support
|
||||
|
||||
def show(self, p=""):
|
||||
"""Display an image in a window using the OpenCV imshow function."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue