Ask Your Question
3

The correct way to contribute code to OpenCV

asked 2013-01-16 10:18:43 -0500

artanis gravatar image

I am sorry to ask such a "stupid" question because I am confused by the offical documents.

Currently I have some algorithms and I want to contribute them to OpenCV. However I cannot find out a clear way to sumbit my code. Here are some ways I found from the web.

  1. Send code to opencv-dev@itseez.com (From http://code.opencv.org/projects/opencv/wiki/CodeSubmissions)
  2. Create a patch in Opencv DevZone and share the code (From http://code.opencv.org/projects/opencv/wiki)
  3. Fork the OpenCV and provide pull requests (From http://code.opencv.org/projects/opencv/wiki/Working_with_OpenCV_git_repository)

Could you please tell me which of the above ways is correct ? Thank you.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-01-16 13:11:00 -0500

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.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2013-01-16 10:18:43 -0500

Seen: 206 times

Last updated: Jan 16 '13