Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Imshow incorrect title if non ascii characters

オープン
#621 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
15/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python

調査の方向性

まず、提供された Python スニペットと opencv-python 4.5.5.62 を使って、報告された Windows 10 X86 のケースを再現してください。最初にリポジトリの README と build-toolchain の対象範囲を確認してください。payload にはファイルもテストのエントリーポイントも含まれておらず、報告された imshow の動作はこの packaging リポジトリではなく OpenCV に属する可能性があります。

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
Python
スター
5.4k
フォーク
1k
平均マージ
22時間 17分
マージ済み PR(30日)
3

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

opencv/opencv-python のほかの issue

opencv/opencv-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。