Ask Your Question

Can I use OpenCV Android for commercial sales [2020]?

asked 2020-11-21 06:08:56 -0500

trustnoone gravatar image

So I have an app built on traditional android, when I check the licensing for OpenCV it has:

OpenCV 4.5.0 and higher versions are licensed under the Apache 2 License.

Or if I use the older version its:

OpenCV 4.4.0 and lower versions, including OpenCV 3.x, OpenCV 2.x, and OpenCV 1.x, are licensed under the 3-clause BSD license.

My understanding is that I require a copy of the OpenCV licence with my source files (all good, definitely agree and understand it).

I found a few quite old posts though noting that you would need some other licences for certain things back in 2012 (FFMPEG, XML files, some algorithm), but I wonder whether these are no longer in use based on other information I've read on forums (FFMPEG is not on android? The algorithms no longer use the licenced version?). Does anyone know if openCV is allowed on a commercial product?

If it helps my code is essentially similar to the Android - Facial Detection sample from

I am not selling an app itself but a device which has an app, which one of the small things it does is check if a face exists.

Would love any advice/help. Thanks so much!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2020-11-21 09:57:37 -0500

berak gravatar image

updated 2020-11-21 10:03:42 -0500

yes, you can. both BSD and Apache2 licenses allow this.

(and a basic android app does not contain any problematic dependancies)

however, there are no lawyers here, so we cannot give you legal advice.

edit flag offensive delete link more


Thanks mate! Definitely understand that it isn't legal advice, I think moving forward we'll end up having to talk to a professional, but this helps so much to know we're on the right track. Great to hear the licence allows for this, I'm guessing I largely just need to include a copy of the licence with the source code as part of typical BSD or Apache2. Thanks mate.

trustnoone gravatar imagetrustnoone ( 2020-11-21 20:54:08 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-11-21 06:08:56 -0500

Seen: 50 times

Last updated: Nov 21