opencv 中有哪些常量(代码)可用 [英] What constants (codes) are available in opencv
问题描述
调用Opencv函数时,通常会提供一个常量给函数调用,比如:
When calling Opencv function, usually a constant is provided to function call, like:
im_hsv = cv2.cvtColor(im, cv2.COLOR_BGR2HSV)
虽然我找不到对所有可用常量的引用.Opencv 发行版下载 (~250MB) 不包含 constants.h
文件.
while I can't find reference to all available constants. Opencv distribution download (~250MB) doesn't contain constants.h
file.
Google 显示此指针:https://code.ros.org/trac/opencv/browser/trunk/opencv/interfaces/swig/filtered/constants.h?rev=277 已弃用 8 岁.
Google shows this pointer: https://code.ros.org/trac/opencv/browser/trunk/opencv/interfaces/swig/filtered/constants.h?rev=277 which is deprecated as 8 years old.
在 Github 的 Opencv 项目中,似乎也没有这样的文件,那么有人有包含所有可用 Opencv 常量的文件的链接吗?
In Opencv project at Github , there doesn't seem to be such file also, so does anyone have a link to a file that contains all available Opencv constants?
推荐答案
Is 这个 你在找什么?
这篇关于opencv 中有哪些常量(代码)可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!