Imshow incorrect title if non ascii characters
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 15/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- python
调研方向
首先,使用提供的 Python 代码片段和 opencv-python 4.5.5.62 重现报告的 Windows 10 X86 案例。先检查仓库 README 和构建工具链的范围;payload 未提供文件或测试入口点,而报告的 imshow 行为可能属于 OpenCV,而不是这个 packaging 仓库。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Python
- 星标
- 5.4k
- 派生
- 1k
- 平均合并
- 22 小时 17 分钟
- 30 天内合并 PR
- 3
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
opencv/opencv-python 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 85/100
opencv/opencv-python#1217 · 3 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
opencv/opencv-python#1165 · 2 条评论 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 25/100
opencv/opencv-python#1273 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 45/100
opencv/opencv-python#1272 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 70/100
opencv/opencv-python#1268 · 1 条评论 ·
查看 opencv/opencv-python 的全部 Issue
相似的 Issue
-
area: harness bug status: needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
Human-Agent-Society/reef#625 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 1/5 1 小时以内 新手友好度 80/100
learningequality/kolibri#15351 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
Name consistency 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
eellak/triplestore#65 · 1 条评论 ·