One of the major issue faced while using cv2, especially when you are using jupyter-notebooks, is to perform cv2.imshow the kernel breaks. Apart from this, most of the users are comfortable using ...
【状況】作ったプログラムの出力結果の画像に日本語表示をさせたいのに, が表示されるだけなのです. 【対処】使用しているライブラリにより異なります.ここではよく使われるであろう,matplotlib,Pillow,OpenCV(+Pillow)の実装を単純化して ...
When using imshow to display a numpy array filled with identical negative values hovering the mouse over the displayed image throws math domain errors. Hovering the mouse over the plot spews math ...
上記の記事を読んでつまづいたところのメモ。 pyplotはグラフなんかを表示するためのモジュール。 なんとなくは知ってるけど使いこなせてはいないので、改めて使い方を確認。 みたいな書き方ができるようになる。 import matplotlib matplotlib.pyplot.figure() 一番 ...