Comments (8)
Unfortunately I don't have any iOS experience so I can't help with this one. Sorry! Let me know if you figure it out.
On Dec 12, 2012, at 3:36 AM, mayankchouhan1089 [email protected] wrote:
Hi Kyle,
I am getting an exception error while trying to run a sample application for faceTracking.
I have made OfxCv to work in iOS and ofxCv is working fine.
exception arises in :
tracker.update(toCv(cam));
I am not able to figure out why this arises an exception for iOS while the same statement works fine for Window OS.
Awaiting your reply :)
—
Reply to this email directly or view it on GitHub.
from ofxfacetracker.
This seems to happen when the cam image is not set / initialised.
I noticed this same error crop up when I was running a face tracker app in the iOS Simulator with the camera code defined out and using a un-initialised ofImage instead of the cam (fixed by initialising that image but yeah, was the same error)
Same kind of problem I noticed happening on a iOS device when using the threaded face tracker and not passing any image to it for a considerable amount of time. I am still trying to track this one down.
from ofxfacetracker.
@danoli3 any solution for above issue yet?
from ofxfacetracker.
Just always pass the tracker a initialised ofImage (either from the cam feed or just a loaded image). Seems to do the job :)
from ofxfacetracker.
@danoli3 I am doing something like this, but still giving me exception -
void testApp::update() {
cam.initGrabber(480, 360);
cam.update();
if(cam.isFrameNew()) {
Mat camMat = toCv(cam);
tracker.update(camMat);
**************
}
Can you please provide me any hint, what i am doing wrong in it.
from ofxfacetracker.
This is what I am doing:
members:
ofxCvColorImage colorCv;
ofxFaceTrackerThreaded tracker;
init:
colorCv.allocate(cam.getWidth(),cam.getHeight());
update:
cam.update();
colorCv = cam.getPixels();
tracker.update(toCv(colorCv))
from ofxfacetracker.
@danoli3 Thanks for quick reply, it started working, i think use of "ofxFaceTrackerThreaded" fixed the issue.
But still I am getting some warning "ofGLRenderer::draw(): texture is not allocated", will try to resolve those on my own.
from ofxfacetracker.
I tried couple of things, still getting these in logs. Attached the screen shot of iPad as well.
2013-07-04 15:19:52.015 iFaceRecognizer[2239:907] ofxiPhoneAppDelegate
2013-07-04 15:19:52.266 iFaceRecognizer[2239:907] Creating OpenGL ES2 Renderer
2013-07-04 15:19:52.270 iFaceRecognizer[2239:907] Failed to load vertex shader
2013-07-04 15:19:52.271 iFaceRecognizer[2239:907] Failed to compile vertex shader
2013-07-04 15:19:52.272 iFaceRecognizer[2239:907] OpenGL ES2 failed
2013-07-04 15:19:52.293 iFaceRecognizer[2239:907] Creating OpenGL ES1 Renderer
2013-07-04 15:19:52.317 iFaceRecognizer[2239:907] WARNING: -[<AVCaptureVideoDataOutput: 0x20b8c80> setMinFrameDuration:] is deprecated. Please use AVCaptureConnection's -setVideoMinFrameDuration:
2013-07-04 15:19:54.121 iFaceRecognizer[2239:907] layoutSubviews
[notice] Device orientation changed to 1
Device 0: Back Camera
Device 1: Front Camera
[warning] ofGLRenderer::draw(): texture is not allocated
[warning] ofGLRenderer::draw(): texture is not allocated
[warning] ofGLRenderer::draw(): texture is not allocated
[warning] ofGLRenderer::draw(): texture is not allocated
[warning] ofGLRenderer::draw(): texture is not allocated
[warning] ofGLRenderer::draw(): texture is not allocated
[warning] ofGLRenderer::draw(): texture is not allocated
[warning] ofGLRenderer::draw(): texture is not allocated
[warning] ofGLRenderer::draw(): texture is not allocated
[warning] ofGLRenderer::draw(): texture is not allocated
[warning] ofGLRenderer::draw(): texture is not allocated
from ofxfacetracker.
Related Issues (20)
- Issue compiling for current nightly OF
- No more support for 0.9.8? HOT 2
- Looking for yml files
- Get Head 3d coordinates
- example-calibrated not working HOT 1
- Features not detected HOT 1
- How to run ofxFaceTracker on ubuntu ?
- Error in Fisheye stereo vision camera calibration
- Does not compile on of Master branch VS 2017 as at 30/10/2018 HOT 1
- IOS instructions
- "example-overlay" error VS 2017. HOT 1
- opencv.h "No such file or directory" with OF 0.10.2 HOT 7
- To make it to work for MacOS Catalina? HOT 2
- Error: -67456 HOT 1
- Constantly Searching for Face - macOS 10.15 HOT 8
- No video camera input on OS 10.15 HOT 2
- FaceOSC problems when using new Apple M1 processor / OS 11.2 on MacBook Pro HOT 1
- using external webcam
- 2022 Update Hype ?
- 65544: Cocoa: Failed to find service port for display
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ofxfacetracker.