Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Imshow incorrect title if non ascii characters

Đang mở
#621 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
15/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
computer-vision

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện trường hợp Windows 10 X86 đã được báo cáo với đoạn mã Python được cung cấp và opencv-python 4.5.5.62. Trước tiên, hãy kiểm tra README của repository và phạm vi của build-toolchain; payload không cung cấp tệp hoặc điểm vào của test, và hành vi imshow được báo cáo có thể thuộc về OpenCV thay vì repository packaging này.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug
Expected behaviour

I put a title on imshow like 'Données du ministère de la santé' and I expect to show it

Actual behaviour

The title show is 'Données du ministère de la santé'

Steps to reproduce
  • example code
from cv2 import imshow, waitKey, destroyAllWindows, imread

from PIL import Image, ImageDraw, ImageFont
filename = "tmp.png"
fnt = ImageFont.truetype('arial.ttf', 20)
image = Image.new(mode = "RGB", size = (400,40), color = "blue")
draw = ImageDraw.Draw(image)
draw.text((10,10), "Données du ministère de la santé", font=fnt, fill=(255,0,0))
image.save(filename)
image  = imread(filename)
imshow("Données du ministère de la santé", image)
if waitKey(0) == ord('q'):
   destroyAllWindows()
  • operating system
    - windows 10
  • architecture (e.g. x86)
    - X86
  • opencv-python version
    • 4.5.5.62
Issue submission checklist
  • This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)
  • I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)
  • The issue is related to the build scripts in this repository, to the pre-built binaries or is a feature request (such as "please enable this additional dependency")
  • I'm using the latest version of opencv-python
Ngôn ngữ chính
Python
Star
5.4k
Fork
1k
Merge trung bình
22 giờ 17 phút
Pull request đã merge (30 ngày)
3

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của opencv/opencv-python

Tất cả issue của opencv/opencv-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.