Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't apply LTU filters from GPUImage on Live Stream #25

Closed
dpestana opened this issue Nov 26, 2012 · 5 comments
Closed

Can't apply LTU filters from GPUImage on Live Stream #25

dpestana opened this issue Nov 26, 2012 · 5 comments

Comments

@dpestana
Copy link

Hi there. I've been using your code to learn Objective-C and so far so good. Wonderful work. The thing is I'm also using the GPUImage framework and each time I take a picture with the Amatorka filter on live stream I get a white image. The preview is fine, I mean, I take the picture and it shows up great on the App, I click done to save to camera roll and I get a white image. When I pick an image from the camera roll and apply the filter it works great, but not on live stream. All the other filters work great on live stream except the LTU filters (LookupFilter). Did I do something wrong, or is it just not possible to apply LTU filters to live stream. Thanks in advance.

@dmitric
Copy link
Owner

dmitric commented Nov 26, 2012

Hello.
Your question concerns GPUImage, not this project.

I don't think this is a good example of where you should learn Objective-C.

I suggest you read the Big Nerd Ranch Guide to iOS and do the problems http://www.bignerdranch.com/book/ios_programming_the_big_nerd_ranch_guide_rd_edition_

@dmitric dmitric closed this as completed Nov 26, 2012
@dpestana
Copy link
Author

dpestana commented Dec 4, 2012

Thanks dmitric. I was able to solve the problem. Everything is now fantastic. And thanks for the tip. I'll check it out. I have C++ background, so I'm just exploring to see the main differences between the two languages.

@dmitric
Copy link
Owner

dmitric commented Dec 4, 2012

@dpestana ah okay thats fair. @alexperri7 asked for help regarding this so maybe you could hook him up too?

@dpestana
Copy link
Author

dpestana commented Dec 4, 2012

Sure, no problem. I'll be glad to help. It's really quite simple, just create a filter group and add the Lookup filter to an RGB filter. It should work. If you get memory issues, just make your photocapturebutton your FirstResponder under viewDidAppear.

@dpestana
Copy link
Author

dpestana commented Dec 4, 2012

I forgot to say, if you choose not to use a filter group, all your images will be white after capture on live stream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants