首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > OpenCV在Python包装

OpenCV在Python包装

  • 资源大小:274.47 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: opencv python ctypes

资 源 简 介

This is a wrapper that combines the original CVtypes from Gary Bishop and the latest library ctypes_opencv from Minh-Tri Pham into one. This library should work with notations used in both libraries with the exception that in CVtypes we don"t need to access pointers(yay!) ie: image.width instead of image[0].width. Other advantages are Complete interface to OpenCV"s CXCORE, CV, HighGUI components. Pythonic interface. OpenCV"s objects are safely deleted when not used. No need to invoke cvRelease...(). Pure Python package. Neither C/C++ compiler nor OpenCV"s source code is needed. Support for both versions 1.0 and 1.1pre1 of OpenCV. Cross platform, running on any OS that OpenCV can be installed, including: Windows, Linux, and Mac OS X. Example Python code for demonstrating K-Means Clustering ``` from cvtypes import * MAX_CLUSTERS=5 if name

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.217758s