• 大小: 37.61M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-30
  • 语言: Python
  • 标签: opencv  代码  实例  

资源简介

《OpenCV3 计算机视觉-Python 语言实现(原书第2版)》随书源码

资源截图

代码片段和文件信息

import cv2
import numpy as np

img = cv2.imread(“../images/statue_small.jpg“ 0)
cv2.imwrite(“canny.jpg“ cv2.Canny(img 200 300))
cv2.imshow(“canny“ cv2.imread(“canny.jpg“))
cv2.waitKey()
cv2.destroyAllWindows()

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-04-27 09:36  pycv-master\
     文件          18  2019-04-27 09:36  pycv-master\.gitignore
     目录           0  2019-04-27 09:36  pycv-master\chapter3\
     文件       62698  2019-04-27 09:36  pycv-master\chapter3\canny.jpg
     文件         215  2019-04-27 09:36  pycv-master\chapter3\canny.py
     文件         413  2019-04-27 09:36  pycv-master\chapter3\contours.py
     文件        1065  2019-04-27 09:36  pycv-master\chapter3\contours_2.py
     文件         763  2019-04-27 09:36  pycv-master\chapter3\contours_hull.py
     文件         783  2019-04-27 09:36  pycv-master\chapter3\fourier.py
     文件      108465  2019-04-27 09:36  pycv-master\chapter3\hammer.jpg
     文件       86811  2019-04-27 09:36  pycv-master\chapter3\houghlines5.jpg
     文件         685  2019-04-27 09:36  pycv-master\chapter3\hough_circles.py
     文件         405  2019-04-27 09:36  pycv-master\chapter3\hough_lines.py
     文件         695  2019-04-27 09:36  pycv-master\chapter3\hpf.py
     文件       90052  2019-04-27 09:36  pycv-master\chapter3\lines.jpg
     文件       68639  2019-04-27 09:36  pycv-master\chapter3\planets_circles.jpg
     文件       32087  2019-04-27 09:36  pycv-master\chapter3\planet_glow.jpg
     文件       30845  2019-04-27 09:36  pycv-master\chapter3\skin.jpg
     文件        1067  2019-04-27 09:36  pycv-master\chapter3\skin.py
     目录           0  2019-04-27 09:36  pycv-master\chapter4\
     文件        2737  2019-04-27 09:36  pycv-master\chapter4\depth.py
     文件        1229  2019-04-27 09:36  pycv-master\chapter4\disparity_video.py
     文件         669  2019-04-27 09:36  pycv-master\chapter4\grabcut.py
     文件         487  2019-04-27 09:36  pycv-master\chapter4\segmentation.py
     文件        1007  2019-04-27 09:36  pycv-master\chapter4\watershed.py
     目录           0  2019-04-27 09:36  pycv-master\chapter5\
     目录           0  2019-04-27 09:36  pycv-master\chapter5\cascades\
     文件      341406  2019-04-27 09:36  pycv-master\chapter5\cascades\haarcascade_eye.xml
     文件      601661  2019-04-27 09:36  pycv-master\chapter5\cascades\haarcascade_eye_tree_eyeglasses.xml
     文件      676709  2019-04-27 09:36  pycv-master\chapter5\cascades\haarcascade_frontalface_alt.xml
     文件      540616  2019-04-27 09:36  pycv-master\chapter5\cascades\haarcascade_frontalface_alt2.xml
............此处省略234个文件信息

评论

共有 条评论