python+opencv

$cd numpy

$ sudo python setup.py build

$ sudo python setup.py install
Running from numpy source directory.
Cythonizing sources
numpy/random/mtrand/mtrand.pyx has not changed
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘test_suite‘
  warnings.warn(msg)
non-existing path in ‘numpy/distutils‘: ‘site.cfg‘
F2PY Version 2
blas_opt_info:
blas_mkl_info:
  libraries mkl,vml,guide not found in [‘/usr/local/lib64‘, ‘/usr/local/lib‘, ‘/usr/lib64‘, ‘/usr/lib‘]
  NOT AVAILABLE

openblas_info:
  libraries openblas not found in [‘/usr/local/lib64‘, ‘/usr/local/lib‘, ‘/usr/lib64‘, ‘/usr/lib‘]
  NOT AVAILABLE

atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries tatlas not found in [‘/usr/local/lib64‘, ‘/usr/local/lib‘, ‘/usr/lib64/atlas‘, ‘/usr/lib64/sse2‘, ‘/usr/lib64‘, ‘/usr/lib‘]
  NOT AVAILABLE

atlas_3_10_blas_info:
  libraries satlas not found in [‘/usr/local/lib64‘, ‘/usr/local/lib‘, ‘/usr/lib64/atlas‘, ‘/usr/lib64/sse2‘, ‘/usr/lib64‘, ‘/usr/lib‘]
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries ptf77blas,ptcblas,atlas not found in [‘/usr/local/lib64‘, ‘/usr/local/lib‘, ‘/usr/lib64/atlas‘, ‘/usr/lib64/sse2‘, ‘/usr/lib64‘, ‘/usr/lib‘]
  NOT AVAILABLE

atlas_blas_info:
  libraries f77blas,cblas,atlas not found in [‘/usr/local/lib64‘, ‘/usr/local/lib‘, ‘/usr/lib64/atlas‘, ‘/usr/lib64/sse2‘, ‘/usr/lib64‘, ‘/usr/lib‘]
  NOT AVAILABLE

/home/tim/Desktop/cv2/numpy/numpy/distutils/system_info.py:1651: UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
blas_info:
  libraries blas not found in [‘/usr/local/lib64‘, ‘/usr/local/lib‘, ‘/usr/lib64‘, ‘/usr/lib‘]
  NOT AVAILABLE

/home/tim/Desktop/cv2/numpy/numpy/distutils/system_info.py:1660: UserWarning:
    Blas (http://www.netlib.org/blas/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [blas]) or by setting
    the BLAS environment variable.
  warnings.warn(BlasNotFoundError.__doc__)
blas_src_info:
  NOT AVAILABLE

/home/tim/Desktop/cv2/numpy/numpy/distutils/system_info.py:1663: UserWarning:
    Blas (http://www.netlib.org/blas/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [blas_src]) or by setting
    the BLAS_SRC environment variable.
  warnings.warn(BlasSrcNotFoundError.__doc__)
  NOT AVAILABLE

lapack_opt_info:
openblas_lapack_info:
  libraries openblas not found in [‘/usr/local/lib64‘, ‘/usr/local/lib‘, ‘/usr/lib64‘, ‘/usr/lib‘]
  NOT AVAILABLE

lapack_mkl_info:
mkl_info:
  libraries mkl,vml,guide not found in [‘/usr/local/lib64‘, ‘/usr/local/lib‘, ‘/usr/lib64‘, ‘/usr/lib‘]
  NOT AVAILABLE

NOT AVAILABLE

atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
  libraries tatlas,tatlas not found in /usr/local/lib64
  libraries lapack_atlas not found in /usr/local/lib64
  libraries tatlas,tatlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries tatlas,tatlas not found in /usr/lib64/atlas
  libraries lapack_atlas not found in /usr/lib64/atlas
  libraries tatlas,tatlas not found in /usr/lib64/sse2
  libraries lapack_atlas not found in /usr/lib64/sse2
  libraries tatlas,tatlas not found in /usr/lib64
  libraries lapack_atlas not found in /usr/lib64
  libraries tatlas,tatlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
<class ‘numpy.distutils.system_info.atlas_3_10_threads_info‘>
  NOT AVAILABLE

atlas_3_10_info:
  libraries satlas,satlas not found in /usr/local/lib64
  libraries lapack_atlas not found in /usr/local/lib64
  libraries satlas,satlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries satlas,satlas not found in /usr/lib64/atlas
  libraries lapack_atlas not found in /usr/lib64/atlas
  libraries satlas,satlas not found in /usr/lib64/sse2
  libraries lapack_atlas not found in /usr/lib64/sse2
  libraries satlas,satlas not found in /usr/lib64
  libraries lapack_atlas not found in /usr/lib64
  libraries satlas,satlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
<class ‘numpy.distutils.system_info.atlas_3_10_info‘>
  NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
  libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib64
  libraries lapack_atlas not found in /usr/local/lib64
  libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib64/atlas
  libraries lapack_atlas not found in /usr/lib64/atlas
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib64/sse2
  libraries lapack_atlas not found in /usr/lib64/sse2
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
  libraries lapack_atlas not found in /usr/lib64
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
<class ‘numpy.distutils.system_info.atlas_threads_info‘>
  NOT AVAILABLE

atlas_info:
  libraries f77blas,cblas,atlas not found in /usr/local/lib64
  libraries lapack_atlas not found in /usr/local/lib64
  libraries f77blas,cblas,atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries f77blas,cblas,atlas not found in /usr/lib64/atlas
  libraries lapack_atlas not found in /usr/lib64/atlas
  libraries f77blas,cblas,atlas not found in /usr/lib64/sse2
  libraries lapack_atlas not found in /usr/lib64/sse2
  libraries f77blas,cblas,atlas not found in /usr/lib64
  libraries lapack_atlas not found in /usr/lib64
  libraries f77blas,cblas,atlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
<class ‘numpy.distutils.system_info.atlas_info‘>
  NOT AVAILABLE

/home/tim/Desktop/cv2/numpy/numpy/distutils/system_info.py:1552: UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
lapack_info:
  libraries lapack not found in [‘/usr/local/lib64‘, ‘/usr/local/lib‘, ‘/usr/lib64‘, ‘/usr/lib‘]
  NOT AVAILABLE

/home/tim/Desktop/cv2/numpy/numpy/distutils/system_info.py:1563: UserWarning:
    Lapack (http://www.netlib.org/lapack/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [lapack]) or by setting
    the LAPACK environment variable.
  warnings.warn(LapackNotFoundError.__doc__)
lapack_src_info:
  NOT AVAILABLE

/home/tim/Desktop/cv2/numpy/numpy/distutils/system_info.py:1566: UserWarning:
    Lapack (http://www.netlib.org/lapack/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [lapack_src]) or by setting
    the LAPACK_SRC environment variable.
  warnings.warn(LapackSrcNotFoundError.__doc__)
  NOT AVAILABLE

/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘define_macros‘
  warnings.warn(msg)
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building library "npymath" sources
customize Gnu95FCompiler
Found executable /usr/bin/gfortran
customize Gnu95FCompiler
customize Gnu95FCompiler using config
C compiler: gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC

compile options: ‘-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python2.7 -c‘
gcc: _configtest.c
gcc -pthread _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC

compile options: ‘-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python2.7 -c‘
gcc: _configtest.c
_configtest.c:1: warning: conflicting types for built-in function ‘exp’
gcc -pthread _configtest.o -o _configtest
_configtest.o: In function `main‘:
/home/tim/Desktop/cv2/numpy/_configtest.c:6: undefined reference to `exp‘
collect2: ld returned 1 exit status
_configtest.o: In function `main‘:
/home/tim/Desktop/cv2/numpy/_configtest.c:6: undefined reference to `exp‘
collect2: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
C compiler: gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC

compile options: ‘-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python2.7 -c‘
gcc: _configtest.c
_configtest.c:1: warning: conflicting types for built-in function ‘exp’
gcc -pthread _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
building library "npysort" sources
  adding ‘build/src.linux-x86_64-2.7/numpy/core/src/private‘ to include_dirs.
None - nothing done with h_files = [‘build/src.linux-x86_64-2.7/numpy/core/src/private/npy_partition.h‘, ‘build/src.linux-x86_64-2.7/numpy/core/src/private/npy_binsearch.h‘]
building extension "numpy.core._dummy" sources
  adding ‘build/src.linux-x86_64-2.7/numpy/core/include/numpy/config.h‘ to sources.
  adding ‘build/src.linux-x86_64-2.7/numpy/core/include/numpy/_numpyconfig.h‘ to sources.
executing numpy/core/code_generators/generate_numpy_api.py
  adding ‘build/src.linux-x86_64-2.7/numpy/core/include/numpy/__multiarray_api.h‘ to sources.
numpy.core - nothing done with h_files = [‘build/src.linux-x86_64-2.7/numpy/core/include/numpy/config.h‘, ‘build/src.linux-x86_64-2.7/numpy/core/include/numpy/_numpyconfig.h‘, ‘build/src.linux-x86_64-2.7/numpy/core/include/numpy/__multiarray_api.h‘]
building extension "numpy.core.multiarray" sources
  adding ‘build/src.linux-x86_64-2.7/numpy/core/include/numpy/config.h‘ to sources.
  adding ‘build/src.linux-x86_64-2.7/numpy/core/include/numpy/_numpyconfig.h‘ to sources.
executing numpy/core/code_generators/generate_numpy_api.py
  adding ‘build/src.linux-x86_64-2.7/numpy/core/include/numpy/__multiarray_api.h‘ to sources.
  adding ‘build/src.linux-x86_64-2.7/numpy/core/src/private‘ to include_dirs.
numpy.core - nothing done with h_files = [‘build/src.linux-x86_64-2.7/numpy/core/src/private/templ_common.h‘, ‘build/src.linux-x86_64-2.7/numpy/core/include/numpy/config.h‘, ‘build/src.linux-x86_64-2.7/numpy/core/include/numpy/_numpyconfig.h‘, ‘build/src.linux-x86_64-2.7/numpy/core/include/numpy/__multiarray_api.h‘]
building extension "numpy.core.umath" sources
  adding ‘build/src.linux-x86_64-2.7/numpy/core/include/numpy/config.h‘ to sources.
  adding ‘build/src.linux-x86_64-2.7/numpy/core/include/numpy/_numpyconfig.h‘ to sources.
executing numpy/core/code_generators/generate_ufunc_api.py
  adding ‘build/src.linux-x86_64-2.7/numpy/core/include/numpy/__ufunc_api.h‘ to sources.
  adding ‘build/src.linux-x86_64-2.7/numpy/core/src/umath‘ to include_dirs.
numpy.core - nothing done with h_files = [‘build/src.linux-x86_64-2.7/numpy/core/src/umath/funcs.inc‘, ‘build/src.linux-x86_64-2.7/numpy/core/src/umath/simd.inc‘, ‘build/src.linux-x86_64-2.7/numpy/core/src/umath/loops.h‘, ‘build/src.linux-x86_64-2.7/numpy/core/include/numpy/config.h‘, ‘build/src.linux-x86_64-2.7/numpy/core/include/numpy/_numpyconfig.h‘, ‘build/src.linux-x86_64-2.7/numpy/core/include/numpy/__ufunc_api.h‘]
building extension "numpy.core.umath_tests" sources
building extension "numpy.core.test_rational" sources
building extension "numpy.core.struct_ufunc_test" sources
building extension "numpy.core.multiarray_tests" sources
building extension "numpy.core.operand_flag_tests" sources
building extension "numpy.fft.fftpack_lite" sources
building extension "numpy.linalg.lapack_lite" sources
### Warning:  Using unoptimized lapack ###
  adding ‘numpy/linalg/lapack_litemodule.c‘ to sources.
  adding ‘numpy/linalg/lapack_lite/python_xerbla.c‘ to sources.
  adding ‘numpy/linalg/lapack_lite/zlapack_lite.c‘ to sources.
  adding ‘numpy/linalg/lapack_lite/dlapack_lite.c‘ to sources.
  adding ‘numpy/linalg/lapack_lite/blas_lite.c‘ to sources.
  adding ‘numpy/linalg/lapack_lite/dlamch.c‘ to sources.
  adding ‘numpy/linalg/lapack_lite/f2c_lite.c‘ to sources.
building extension "numpy.linalg._umath_linalg" sources
### Warning:  Using unoptimized lapack ###
  adding ‘numpy/linalg/umath_linalg.c.src‘ to sources.
  adding ‘numpy/linalg/lapack_lite/python_xerbla.c‘ to sources.
  adding ‘numpy/linalg/lapack_lite/zlapack_lite.c‘ to sources.
  adding ‘numpy/linalg/lapack_lite/dlapack_lite.c‘ to sources.
  adding ‘numpy/linalg/lapack_lite/blas_lite.c‘ to sources.
  adding ‘numpy/linalg/lapack_lite/dlamch.c‘ to sources.
  adding ‘numpy/linalg/lapack_lite/f2c_lite.c‘ to sources.
building extension "numpy.random.mtrand" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
copying numpy/version.py -> build/lib.linux-x86_64-2.7/numpy
copying build/src.linux-x86_64-2.7/numpy/__config__.py -> build/lib.linux-x86_64-2.7/numpy
copying build/src.linux-x86_64-2.7/numpy/distutils/__config__.py -> build/lib.linux-x86_64-2.7/numpy/distutils
running build_clib
customize UnixCCompiler
customize UnixCCompiler using build_clib
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
running build_scripts
  adding ‘build/scripts.linux-x86_64-2.7/f2py‘ to scripts
running install_lib
copying build/lib.linux-x86_64-2.7/numpy/distutils/__config__.py -> /usr/lib64/python2.7/site-packages/numpy/distutils
copying build/lib.linux-x86_64-2.7/numpy/version.py -> /usr/lib64/python2.7/site-packages/numpy
copying build/lib.linux-x86_64-2.7/numpy/__config__.py -> /usr/lib64/python2.7/site-packages/numpy
byte-compiling /usr/lib64/python2.7/site-packages/numpy/distutils/__config__.py to __config__.pyc
byte-compiling /usr/lib64/python2.7/site-packages/numpy/version.py to version.pyc
byte-compiling /usr/lib64/python2.7/site-packages/numpy/__config__.py to __config__.pyc
running install_scripts
changing mode of /usr/bin/f2py to 775
running install_data
copying build/src.linux-x86_64-2.7/numpy/core/include/numpy/__ufunc_api.h -> /usr/lib64/python2.7/site-packages/numpy/core/include/numpy
copying build/src.linux-x86_64-2.7/numpy/core/include/numpy/ufunc_api.txt -> /usr/lib64/python2.7/site-packages/numpy/core/include/numpy
copying build/src.linux-x86_64-2.7/numpy/core/lib/npy-pkg-config/npymath.ini -> /usr/lib64/python2.7/site-packages/numpy/core/lib/npy-pkg-config
copying build/src.linux-x86_64-2.7/numpy/core/lib/npy-pkg-config/mlib.ini -> /usr/lib64/python2.7/site-packages/numpy/core/lib/npy-pkg-config
running install_egg_info
Removing /usr/lib64/python2.7/site-packages/numpy-1.11.0.dev0_9cd868a-py2.7.egg-info
Writing /usr/lib64/python2.7/site-packages/numpy-1.11.0.dev0_9cd868a-py2.7.egg-info
running install_clib

详细:

时间: 2024-10-12 07:04:31

python+opencv的相关文章

RPi 2B python opencv camera demo example

/************************************************************************************** * RPi 2B python opencv camera demo example * 声明: * 本文主要记录RPi 2B 使用python opencv来获取图片的方式. * * 2016-2-24 深圳 南山平山村 曾剑锋 **********************************************

python opencv 人脸识别初识

甲.希望通过python加opencv搭建自己的人脸识别判断库 参照如下网页,配置python opencv开发环境, {博主ma6174} http://www.cnblogs.com/ma6174/archive/2013/03/31/2991315.html ubuntu中已有python-opencv的库,安装方便 sudo apt-get install libopencv-* sudo apt-get install python-opencv sudo apt-get instal

.NET + OpenCV &amp; Python + OpenCV 配置

最近需要做一个图像识别的GUI应用,权衡了Opencv+ 1)QT,2)Python GUI,3).NET后选择了.NET... 本文给出C#+Opencv和Python+Opencv的相应参考,节省大家时间. (一)C#.NET + Opencv 1)下载并安装Emgu库(for opencv on .NET env) Download @ http://sourceforge.net/projects/emgucv/ 2)How to use opencv on C#? VS上配置Emgu(

python+opencv实现高斯平滑滤波

功能: 创建两个滑动条来分别控制高斯核的size和σ的大小,这个程序是在阈值分割的那个程序上改动的.阈值分割程序在这 注意:由于σ=0时,opencv会根据窗口大小计算出σ,所以,从0滑动σ的滑动条时,会出现先边清晰又变模糊的现象 python+opencv实现阈值分割 python+opencv实现霍夫变换检测直线 (2016-5-10)到OpenCV-Python Tutorials's documentation!可以下载 代码: # -*- coding: utf-8 -*- impor

python+opencv实现阈值分割

最近老师留了几个作业,虽然用opencv很简单一句话就出来了,但是还没用python写过.在官方文档中的tutorial中的threshold里,看到可以创建两个滑动条来选择type和value,决定用python实现一下 注意python中的全局变量,用global声明 开始出现了一些问题,因为毁掉函数每次只能传回一个值,所以每次只能更新value,后来就弄了两个毁掉函数,这个时候,又出现了滑动其中一个,另一个的值就会变为默认值的情况,这个时候猜想是全局变量的问题,根据猜想改动之后果然是. 感

python+opencv实现霍夫变换检测直线

python+opencv实现高斯平滑滤波 python+opencv实现阈值分割 (2016-5-10)到OpenCV-Python Tutorials's documentation可以下载 功能: 创建一个滑动条来控制检测直线的长度阈值,即大于该阈值的检测出来,小于该阈值的忽略 注意:这里用的函数是HoughLinesP而不是HoughLines,因为HoughLinesP直接给出了直线的断点,在画出线段的时候可以偷懒 代码: # -*- coding: utf-8 -*- import

AI新时代-大神教你使用python+Opencv完成人脸解锁(附源码)

好吧,伙计们,我回来了.说我拖更不写文章的可以过来用你的小拳拳狠命地捶我胸口.... 那么今天我们来讲关于使用python+opencv+face++来实现人脸验证及人脸解锁.代码量同样不多,你可以将这些代码运用在其它一些智能领域,如智能家居,进门的时候判断你是谁,也可以加入机器学习判断来的人是客人还是熟人.在讲之前我们会先适当的拓扑一下关于人脸识别的知识点.OK废话少说下面开始正是话题. 解锁原理: 原理呢,其实很简单,没有那么复杂难懂(当然除了官方语言之外).我们先来通俗的说一下利用Face

Python+OpenCV图像处理(一)——读取显示一张图片

配置好所有环境后,开始利用python+opencv进行图像处理第一步. 读取和显示一张图片: import cv2 as cv src=cv.imread('E:\imageload\example.png') cv.namedWindow('input_image', cv.WINDOW_AUTOSIZE) cv.imshow('input_image', src) cv.waitKey(0) cv.destroyAllWindows() 输出效果: 代码解释: src=cv.imread(

Python+opencv+pyaudio实现带声音屏幕录制

原文链接:https://blog.csdn.net/zhaoyun_zzz/article/details/84341801 Python+opencv+pyaudio实现带声音屏幕录制原创luke-skyworker 发布于2018-11-28 23:05:23 阅读数 3463 收藏展开文章目录声音录制视频录制(无声音)录制的音频与视频合成为带声音的视频 基于个人的爱好和现实的需求,决定用Python做一个屏幕录制的脚本.因为要看一些加密的视频,每次都要登录,特别麻烦,遂决定用自己写的脚本

python+opencv实现机器视觉基础技术(边缘提取,图像滤波,边缘检测算子,投影,车牌字符分割)

目录 一:边缘提取 1.对图像进行阈值分割并反色 2.边缘提取 二:图像滤波 1.读取原图 2.均值滤波 3.中值滤波 4.高斯滤波 5.高斯边缘检测 三:边缘检测算子 1.显示原图 2.对图像进行反色 3.对图像用sobel方法进行边缘检测 4.对图像用robert方法进行边缘检测 四:投影 1.显示原图 2.垂直方向投影 3.水平方向投影 五:车牌字符分割 1.读取原图 2.灰度转换 3.反色 4.阈值分割 5.投影 6.字符识别匹配分割 ??机器视觉是人工智能正在快速发展的一个分支.简单说