1 | initial version |
easy:
>>> import cv2
>>> help(cv2.threshold)
Help on built-in function threshold in module cv2:
threshold(...)
threshold(src, thresh, maxval, type[, dst]) -> retval, dst
another idea, start the local pydoc webserver:
d:\Programme\Python27\Lib\pydoc.py -p 1234
then access it on localhost:1234
from your browser
2 | No.2 Revision |
easy:easy from the repl:
>>> import cv2
>>> help(cv2.threshold)
Help on built-in function threshold in module cv2:
threshold(...)
threshold(src, thresh, maxval, type[, dst]) -> retval, dst
another idea, start the local pydoc webserver:
d:\Programme\Python27\Lib\pydoc.py -p 1234
then access it on localhost:1234
from your browser
3 | No.3 Revision |
easy from the repl:
>>> import cv2
>>> help(cv2.threshold)
Help on built-in function threshold in module cv2:
threshold(...)
threshold(src, thresh, maxval, type[, dst]) -> retval, dst
for objects, you will have to create an instance first:
>>> s = cv2.SIFT()
>>> help(s)
Help on SIFT object:
class SIFT(Feature2D)
| Method resolution order:
| SIFT
| Feature2D
| FeatureDetector
| Algorithm
| __builtin__.object
|
| Methods defined here:
|
| __repr__(...)
| x.__repr__() <==> repr(x)
|
| defaultNorm(...)
| defaultNorm() -> retval
|
| descriptorSize(...)
| descriptorSize() -> retval
|
| descriptorType(...)
| descriptorType() -> retval
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __new__ = <built-in method __new__ of type object>
| T.__new__(S, ...) -> a new object with type S, a subtype of T
|
| ----------------------------------------------------------------------
| Methods inherited from Feature2D:
|
| compute(...)
| compute(image, keypoints[, descriptors]) -> keypoints, descriptors
|
| detectAndCompute(...)
| detectAndCompute(image, mask[, descriptors[, useProvidedKeypoints]]) -
keypoints, descriptors
|
| ----------------------------------------------------------------------
| Methods inherited from FeatureDetector:
|
| detect(...)
| detect(image[, mask]) -> keypoints
|
(and so on)
another idea, start the local pydoc webserver:
d:\Programme\Python27\Lib\pydoc.py -p 1234
then access it on localhost:1234
from your browser