1 | initial version |
You definitely can do it, because OpenCV allows you to create pretty anything in image processing.
But you should know that it is focused on image processing algorithms, and not image effects. That means there are more appropriate software packages for you to use. ImageMagick is one of them, that explicitely allows you to play with transparency and chroma key.
If you are a general app developer, most probably you do not want to invest the time resources needed to learn OpenCV effectively, and implement your algorithm from scratch. Using another package, with pre-built functions, will keep you focused on your main task - providing an app or a service, or whatever you are developing