Ask Your Question

Documentation for Python incomplete

asked 2012-08-31 07:56:52 -0500

Patryk gravatar image

updated 2018-01-11 14:52:49 -0500

Hello everyone,

I am just starting with OpenCV for Python. I have installed it correctly (version 2.4.2 on Linux machine) and wanted to test some stuff out e.g. loading images, saving images, applying simple filters like dilate and erode but from what I have seen there is very little documentation for that.

I have found this piece of documentation : but a lot of things are not explained down there like e.g. dilate function there is no explanation how should element ( kernel ) look like. I am a beginner and I found this a bit confusing. (finally I have came to a stackoverflow answer where some guy explained that it should be in the form of


can someone try to fill the lacking pieces of documentation ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2012-08-31 08:29:43 -0500

Rui Marques gravatar image

Hi Patryk, the documentation you linked is very outdated, it refers to version 2.1. Like you said, you are using version 2.4.2, lot of things have changed since.

You should try to follow the documentation at

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2012-08-31 07:56:52 -0500

Seen: 350 times

Last updated: Aug 31 '12