开发者

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

In my applicat开发者_开发知识库ion 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 on color video?

Can anyone help in this regard?


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.


HI Lakshmi this might be familiar to you that at least 24 frames make a clip of video so you have to use a tool like movie maker so that you can see the video frame by frame and edit each frame.


See the opensource Framework named: GPUImage https://github.com/BradLarson/GPUImage/
The filter name GPUImageGrayscaleFilter is what you want
This framework included the sample code, so you can learn how to use GPUImageGrayscaleFilter in your apps easily

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜