How to apply black and white effect to a color video in iOS

前端 未结 3 1201
盖世英雄少女心
盖世英雄少女心 2020-12-11 02:43

In my application I have a color video which I want to make as black and white video. Is there any framework that supports this in iOS? If so, how to implement that effect o

3条回答
  •  旧时难觅i
    2020-12-11 03:25

    A bit late here, but you should check out OpenCV.

    It can be compiled as a static lib for the iPhone and can convert video (frame by frame) to grayscale or two color.

    You can start here. There are other resources for doing this floating around.

提交回复
热议问题