Contents
What is contrib folder?
The contrib directory is used as an unorganized (or, at best, lightly organized) bin of various useful things contributed by the community around the software, but which is not necessarily a good candidate for being a proper part of the software.
What is a contrib file?
contrib files are generally used to compare the file’s previous contents with its new after-merge version; moreover, these files are view-private and can be removed. There has been discussion around the ability to allow the end-user to disable/enable the .
What is non-free in Linux?
WRT to distributions, the essential difference between “free” and “non-free” is that the former is compiled from freely available source code, whereas the later is not; this usually means that the distribution packagers did not compile the binary at all — they got it from some third party who have legal, private …
What are the directories in the contrib folder?
With gitstats, we can get the statistics about the contributors. So the top authors are practically the same, which means that those are not contributions from the outsiders. Looking at the directories inside contrib folder, it seems that once again, those are “a variety of extra, optional tools”, exactly as in Django.
What’s the purpose of the contrib folder in a project?
On the other hand, contrib contains tools which can probably run standalone. It’s meant for libraries or components that contrib ute to the project, but aren’t owned or a part of the project itself. I’ve always used it as a common or shared location to put any third-party libraries I’m using.
Which is the only Python program with a contrib folder?
The only one which has a “contrib” folder is Django. For Django, the role of this folder is already explained in the documentation: Django aims to follow Python’s “batteries included” philosophy. It ships with a variety of extra, optional tools that solve common Web-development problems.
How to add OpenCV contrib to a folder?
The OpenCV official download doesn’t come with the extra module. You need to download the zip file or clone it using git to your source directory from OpenCV repository, e.g. /Documents/OpenCV/opencv/opencv_contrib in your case. Then, in CMake, set OPENCV_EXTRA_MODULES_PATH points to /Documents/OpenCV/opencv/opencv_contrib/modules.