i have a request and a suggestion about Documentation improvement plan
i already made some contributions related to documentation and i want to keep working on it. I want to work according a right plan so if some tasks that users can do are identified clearly i will choose a task and work on it. after completing a task choose another and so on.
my suggestion is gathering feedbacks from users in documentation pages
for example see msdn.microsoft.com
there is "Is this page helpful? Yes No"
I have some suggestions:
progressively start to merge the contents of the Python tutorials into the C++ tutorials:
similarly to the Python documentation, be able to browse directly the Github source code of a function from the OpenCV documentation
The first point should be relatively easy as it should be mostly some copy-pasting. The hard part should be to provide the code in C++, Java and in Python but it can be done progressively.
The second point is more a personal request as I have sometimes some difficulties to locate the source code of a function and the Github search option returns too many results.
I have tried to improve the documentation (list of PRs) by adding Java and Python code to some C++ tutorials.
Here some suggestions / guidelines I propose to follow. Discussion and proposition are welcome.
imread(filename, IMREAD_COLOR)
should be replaced by imread(filename)
in my opinionCommandLineParser
in C++ and argparse
in Python for command lines option@snippet
doxygen command instead of @code
command. This allows the code to be automatically verified for syntax error and to be run easily.Related issue to close or redirect the obsolete and no more maintained Python tutorial website.
At the same time, mention about 2.4 OpenCV documentation being obsolete should be added. Here some examples for other libraries:
2.4 OpenCV branch still exist and the corresponding 2.4 documentation is still relevant. But most of the time, people that arrive on 2.4 doc are newcomers that just google something about OpenCV.
For tutorials improvement, a good thing would be to add references to the corresponding chapters of the Szeliski book.
Good theory with practical examples would be the best for the OpenCV tutorials. For instance, I have found this course.
Also, there are C++, Java and Python code in lot of OpenCV tutorials. Something like Python notebook could also be explored for interactive code.
Most helpful comment
I have tried to improve the documentation (list of PRs) by adding Java and Python code to some C++ tutorials.
Here some suggestions / guidelines I propose to follow. Discussion and proposition are welcome.
Write code that follows good practices
imread(filename, IMREAD_COLOR)
should be replaced byimread(filename)
in my opinionCommandLineParser
in C++ andargparse
in Python for command lines optionTutorial content
@snippet
doxygen command instead of@code
command. This allows the code to be automatically verified for syntax error and to be run easily.Suggestions / improvements