user1553136
user1553136

Reputation: 328

Invert the color of an AVCaptureSession

I am looking to invert the color of the screen in my app while using the camera. However, I do not know if (1) it is possible and (2) how to do it if it is.

Thanks!

Upvotes: 3

Views: 1283

Answers (2)

Eyal
Eyal

Reputation: 10828

you can use Core Image to do this or you can use Brad Larson's great framework GPUImage

to do a lot of video effects easily, the framework includes a lot of examples take a look.

Upvotes: 1

etolstoy
etolstoy

Reputation: 1798

Well, you can try to use Core Image, which has a filter called CIColorInvert. I'm not sure that it will work with camera, but it is worth to give it a try. Here a some links, that you might find helpful:

Besides it, have a look at this answer.

Hope this helps!

Upvotes: 0

Related Questions