Questions tagged [gpuimagestillcamera]
42 questions
4
votes
2 answers
GPUImage - Focusing and Exposure on tap does not work properly - Missing something?
I had starter project that used AVFoundation to set up the Camera and it worked perfectly. Now I needed to convert the Camera mechanism into GPUImage. I'm using the same focus and exposure method in both projects (which worked prefect at the…

Roi Mulia
- 5,626
- 11
- 54
- 105
4
votes
2 answers
A video from GPUImageMovie has a red frame at the beginning
Thank you for seeing this question.
I create a movie from GPUImageMovieComposition and GPUImageWriter, and sometimes (5% ~ 10 %) the movie has red frames at the beginning.
Please teach me why this phenomenon occur.
I use AVFileTypeMPEG4 as a…

Takahiro Ishihama
- 49
- 5
3
votes
0 answers
How to capture image and record video using GPUImage 2?
How to capture image with applied filter using GPUImage? For reference, below is the code which I am calling for get image:
func countdownFinished(_ view: LUCountdownView!) {
let pictureOutput = PictureOutput()
…

Sumit singh
- 2,398
- 1
- 15
- 30
3
votes
0 answers
3D Face Scan using Camera in Snapchat
In Snapchat we could tap on the face on the camera. And it would generate a 3D wireframe around our face. i am wondering how do they achieve that?
Any library that does that?
P.S.: Please help vote up for attract answers I have searched SO and…

JayVDiyk
- 4,277
- 22
- 70
- 135
3
votes
2 answers
GPUImage - ChromaKeyBlendFilter - sourceImage
I have an GPUImageStillCamera layered over a UIView (on which some realtime animation is happening) in which for GPUImagePicture I am passing the sourceImage with smoothlyScaleOutput:YES for ChromaKeyBlendFilter
The code works perfectly (most humble…

Saurabh Passolia
- 8,099
- 1
- 26
- 41
3
votes
0 answers
GPUImage Memory Leak *Dirty* IOKit Object Hogging Memory
I am using GPUImage and I have a UIViewController which loads a GPUStillImageCamera into fullview.
However if I close and open this UIViewController 5x, then I get a nasty crash.
It's an out of memory crash (since there is no error message) and it's…

Aggressor
- 13,323
- 24
- 103
- 182
2
votes
1 answer
GPUImage2 unable to cycle through filters real-time
I have the following block of code that utilizes the GPUImage2 library to filter video in real time. The idea is to be able to cycle these filters based on button clicks. But only one filter will be applied and whenever I try and cycle to the next…

thepyramid
- 59
- 6
2
votes
1 answer
GPUImage show histogram in another view
I am currently trying to display a histogram using GPUImage. I currently have following code:
GPUImageOutput *filter = [[GPUImageHistogramFilter alloc] initWithHistogramType:kGPUImageHistogramLuminance];
[self.stillCamera …

Gizmodo
- 3,151
- 7
- 45
- 92
2
votes
0 answers
iOS - GPUImage distorted
I am using GPUImage to apply live filters on camera views. the problem is once I capture an image, it gets pixelated
Here is my code:
in viewDidLoad:
imageCamera = [[GPUImageStillCamera alloc] initWithSessionPreset:AVCaptureSessionPresetPhoto…

user3370459
- 126
- 4
2
votes
0 answers
Using a GPUImageTransformFilter on a GPUImageVideoCamera yields flickering
I want to use a GPUImageTransformFilter to crop a live video stream from GPUImageVideoCamera.
GPUImageTransformFilter *transformFilter = [[GPUImageTransformFilter alloc] init];
// Zoom is 4x
[transformFilter…

kev
- 7,712
- 11
- 30
- 41
1
vote
0 answers
Capture Filtered Image with GPUImage and Save to Photo Library with Metadata
I am developing a simple came app for iOS 10. I need to live filter a camera feed, and then capture and save the filtered image.
Using GPUImage, I have been able to setup the live feed and the image capture using GPUImageStillCamera. I am also…

Chase McCoy
- 1,550
- 2
- 13
- 16
1
vote
0 answers
GPUImage index out of bounds crash
I have a camera app on the app store that uses GPUImage to take pictures and record videos. I am getting crash reports that says its crashing for a lot of users with the error
Fatal Exception: NSRangeException
*** -[NSArray| objectAtIndex:]: index 0…

Subash
- 1,002
- 13
- 26
1
vote
0 answers
How to maintain the aspect ratio when using GPUImage cropFilter?
Now I am making a application to take square movies like Instagram.
I'm trying to use cropFilter in GPUImage to crop the video.
The video is really square but looks stretch and broken ratio.
I wrote like this.
videoView.frame = CGRect(x: 0, y: 0,…

Kei Maejima
- 401
- 1
- 4
- 6
1
vote
0 answers
GPUImage captured from camera reports unexpected size
Using the GPUImage camera I set my camera up like this
- (void)setupSessionWithImageView:(GPUImageView *)captureView
{
GPUImageStillCamera *stillCamera = [[GPUImageStillCamera alloc] init];
GPUImageGammaFilter *colorFilter =…

Nat Osten
- 278
- 4
- 11
1
vote
1 answer
Camera Shake effect in Android
Working on Android mobile Camera effects.
How to get Camera shake effect? Tried adding shake animation to the surfaceview, but its not shaking the camera view. Camera view remains stable(i.e., whatever i can view from camera on the screen should…

Pavandroid
- 1,586
- 2
- 15
- 30