Questions tagged [gpuimage]

GPUImage is an open source iOS, macOS, and Linux framework for GPU-based image and video processing. Ports of the framework exist for Android and other platforms.

GPUImage is an open source iOS, macOS, and Linux framework for GPU-based image and video processing.

The GPUImage framework lets you apply GPU-accelerated filters and other effects to images, live camera video, and movies.

  • The original version of the framework was written in Objective-C, and only supported iOS and macOS.
  • The newer GPUImage 2 was rewritten in Swift and now supports Linux platforms where Swift code can be compiled, in addition to iOS and macOS.
  • The latest GPUImage 3 is written in Swift and uses Metal in place of deprecated OpenGL (ES).

A subset of the features of this framework have been ported to Android.

975 questions
46
votes
2 answers

How do I "subtract" a color filter using GPUImageLibrary?

Currently the BlendModes (Subtract, Exclusion, etc.) use the LauncherImage as the mask. Can I apply these BlendModes to a ColorMatrix? I'm using the GPUImageLibrary: colorMatrix[ 0.393, 0.7689999, 0.18899999, 0, 0, 0.349, 0.6859999,…
Zen
  • 2,524
  • 3
  • 19
  • 40
38
votes
21 answers

Android: Sugar ORM No Such Table Exception

I am getting the No Such table exception when i am Using Sugar ORM with GPU image Android Library. I am using Gradle and Android Studio. Once i remove GPU image this issue is solved. So i don't know whats causing this exception. Details about this…
Sheraz Ahmad Khilji
  • 8,072
  • 8
  • 46
  • 83
35
votes
4 answers

Luma Key (create alpha mask from image) for iOS

I'm building an app that allows people to upload an image of themselves against a white background and the app will create a silhouette of the person. I'm having a hard time keying out the background. I am using the GPUImage framework and the…
Buyin Brian
  • 2,626
  • 2
  • 24
  • 42
25
votes
3 answers

iOS 11 beta 4 presentRenderbuffer crash

My app crashes on iOS 11 beta 4 (15A5327g) when [EAGLContext presentRenderbuffer:] method is called. It happens only when I debugging in Xcode. When I launch app manually it doesn't crashed. On versions lower than iOS 11 beta 4 it doesn't crashed as…
Evgeny Mikhaylov
  • 1,476
  • 1
  • 17
  • 22
25
votes
5 answers

How do I animate in/out a gaussian blur effect in iOS?

For the whole iOS 7 feel, I want to apply a blur effect to a specific portion of the screen to obfuscate it, but I don't want to just throw the blur on instantly, I want to animate it in and animate it out so the user almost sees the blur effect…
user2005643
23
votes
2 answers

Key differences between Core Image and GPUImage

What are the major differences between the Core Image and GPUImage frameworks (besides GPUImage being open source)? At a glance their interfaces seem pretty similar... Applying a series of filters to an input to create an output. I see a few small…
Ivan Lesko
  • 1,215
  • 13
  • 24
21
votes
1 answer

How to get corners using GPUImageHarrisCornerDetectionFilter

I am trying to get the corner points from a still image using GPUImageHarrisCornerDetectionFilter. I have looked at the example code from the project, I have looked at the documentation, and I have looked at this post that is about the same thing:…
henrikstroem
  • 2,718
  • 4
  • 30
  • 47
19
votes
2 answers

GPUimage port for android

Has anyone ported this to android yet? More the framework than the shaders. Stuff like bringing camera data into openGL. I have worked with it on iOS and it is very fast. Any help is much appreciated.
grasshopper
  • 191
  • 1
  • 4
17
votes
3 answers

Applying filters on a video file

I want to apply filters (effects) on a video file while the video is playing. I'm currently using @BradLarson 's (great) GPUImage framework to do so, the problem here is that the framework doesn't support audio playback while playing the video. …
Eyal
  • 10,429
  • 18
  • 73
  • 127
14
votes
13 answers

Xcode: Missing Info.plist key for NSCameraUsageDescription

After adding GPUImage to my Xcode project, my app is getting denied for Missing an Info.plist key for NSCameraUsageDescription. Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's…
Chris
  • 171
  • 1
  • 1
  • 10
13
votes
1 answer

GPUImage filtering video

This is a follow-up to a previous but only marginally related question I'm using the GPUImage library to apply filters to still photos and videos in my camera app. Almost everything is working nicely. One remaining issue that I have not been able to…
geraldWilliam
  • 4,063
  • 1
  • 21
  • 35
13
votes
1 answer

GPUImage equivalent of cv::findContours

My app uses opencv's cv::findContours on a binary image. I now need to make it realtime. GPUImage has a cannyedge filter but I couldn't find anything related to findContours. Does GPUImage have anything that closely resembles findContours? If not,…
0xSina
  • 18,637
  • 29
  • 125
  • 245
13
votes
4 answers

"GPUImage.h" not found

I am trying to set up GPUImage in a project but I am not able to track down why I'm getting the error: "GPUImage.h" not found. I have added the framework, setup the target dependency, added the Header Search path as: framework, and added other…
Mr Wolf
  • 4,766
  • 15
  • 55
  • 91
13
votes
4 answers

How to add external framework GPUImage framework?

I am developing iPhone application using iOS. I need to add GPUImage framework, i followed this url for adding purpose. http://www.sunsetlakesoftware.com/2012/02/12/introducing-gpuimage-framework Now i drag and drop GPUImage xcodeproject file in my…
iSara
  • 879
  • 3
  • 9
  • 24
12
votes
6 answers

Programmatic "fuzzy" style background for UIView

Of course, it's trivial to set a plain color for a background: These days, instead of using "plain gray", it is popular to use a "fuzzy" or "cloudy" background, as a design feature in apps. For example, here's a couple "fuzzy" backgrounds - it's…
Fattie
  • 30,632
  • 54
  • 336
  • 607
1
2 3
64 65