1 | initial version |
The preferable way is the 3rd method. You need to fork OpenCV on Github, make changes and create pull request. Such contribution is simpler for development and integration. If you does not add OpenCV API changes use master branch as base for your request. Master branch is used for next OpenCV generation development. It is not binary compatible with 2.4. I case of incremental changes 2.4 is the better target. Only binary compatible changes are added to 2.4, because it is used for 2.4 releases.