jupyter notebook oepncv 显示一张图像的实现
感想 我们在用jupyter notebook的时候,经常需要可视化一些东西,尤其是一些图像,我这里给个sample code 环境 opencv-python matplotlib numpy sample import os import numpy as np from matplotlib import pyplot as plt %matplotlib inline img_dir='/Users/eric/Documents/data/wheel_train_val/train/non_defect/'\nfilename='00005.BMP_block_8.jpg' i
用户评论