I am Charmie

メモとログ

2018-10-01から1ヶ月間の記事一覧

OpenCV Python calibration code

[code lang='python'] -- coding: utf-8 -- import os import numpy as np import glob import cv2 def generate_points_3d(rows, cols, square_size): """ prepare object points as ( 0, 0, 0), (1square_size, 0, 0), (2square_size, 0, 0), ... *1 img =…

Mac OS X: フォントのインストール

XeLaTeXのコンパイルにIPAフォントやIPA exフォントが必要だったので,まとめ.ウェブで色々見た情報のゴッタ煮.全ユーザに有効なフォントのインストール方法なので,管理者権限が必要.IPAフォントのインストール方法が正解なのかな? フォントファイルを…

Spyder reset

spyder --reset [code lang='bash'] Reset Spyder settings to defaults removing: C:\Users\oyamada.AR-DUNE-1.spyder-py3\spyder.ini removing: C:\Users\oyamada.AR-DUNE-1.spyder-py3\history_internal.py removing: C:\Users\oyamada.AR-DUNE-1.spyder-…

OpenCV-Python GUI outputs GTK related error

This stackoverflow post gives us the answer!! OpenCV for python installed on Linux (Ubuntu) by anaconda outputs GTK+2.x related error as OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GT…