I want to make a face tracking application in iPhone.
Can any one help me how to use
CvCapture * camera = cvCreateCameraCapture(CV_CAP_ANY); in iPhone?
When I add this line in XCode4, I got the error "_cvCreateCameraCapture", referenced from:.
How can solve this error?
Thanks,
Chetan
The latest OpenCV source from the SVN trunk supports video capture on iOS. Take a look at this article for a pre-compiled iOS framework and an example project.
Currently, OpenCV camera capture API cannot be used in iOS apps. You have to create AVCaptureSession and setup video capturing pipeline in order to get video frames from iPhone camera device.
Related
I'm trying to connect my iPhone camera to python script built on OpenCV library. OpenCV works fine with built-in camera on OSX but I can't find out how to connect it with some kind of remote or mobile camera.
Tried to use soft that emulates web-camera on macOS, but openCV can't recognize it.
I can't find any way out. Any ideas?
Thanks.
Unfortunately, video capture in current OpenCV (2.4.1) is not supported on iOS (iPhone/iPad) platform. But as far as i know, there is no possibilities to connect a hardrare camera of your mobile device to python app in such way.
But in general a good tutorial how to setup video capture on iPhone camera can be found here:OpenCV Tutorial - Part 3
Also you can read about image processing using OpenCV on iPhone and iPad in OpenCV Tutorial - Part 1 and OpenCV Tutorial - Part 2.
The Git Repository with the Code for the tutorials here.
I am developing an app for the iPhone/iPad using Xcode and iOS 5. Can anyone suggest any third party libs to do this, or give me some direction as to how to natively do it?
Try using this sdk http://www.izotope.com/tech/iZomobile/
it uses audioqueue bit complicated yet powerfull
You can use Bass and Bass_fx library for changing pitch/tempo in real time.
You can download this library from http://www.un4seen.com/.
You can use following function for Pitch and tempo setting
BASS_ChannelSlideAttribute(mainStream, BASS_ATTRIB_TEMPO_PITCH, 0.0,
updatePeriod);
which is available in Bass library.
I am new to the iPhone development, I need to develop application in which I can load SWF files (shock wave file). I have done lots of research but I couldn't get it to work. How do I load it on the iPhone ? if it's not possible, what alternatives do I have ?
There is no Flash player on iOS and no other solution to play Flash in your app. However, you might want to look into Adobe AIR for iOS which is able to produce iOS apps.
The iPhone doesn't support flash.
iOS Doesn't support Flash so you won't be able to launch a swf. If you have the source for the SWF you could consider building an ios app through Flash CS5+. Also, you could try porting it to haxe, which is very similar to actionscript and should allow you to build for both Android and iOS at once.
As I know there is no such application (expect Frash, which is only available on jailbroken iPhones) which can load SWF Files on an iPhone.
The only way you can go is to convert that file in an iPhone readable format, which I can't recommend as the results are normally horrible.
Otherwise I suggest to recode the behaviour of that SWF File in Objective C or something similar to that.
There is no Flash player in iOS. Even more – it is forbidden by Apple iOS Developer Agreement to deploy them (and other technologies where you may use an app to execute another executable code of any kind (SWF, Java, AIR, etc.) on iOS devices.
You can also make your own flash player.
How to use face detection for the face image using iPhone camera ?
I want to develop an application for iPhone in xcode and use face Image in the application to but I do not know how it is possible to use face detection in my application. Any ideas?
You can take a look at openCV
Here is a link to the question asking something similar to your question
iPhone and OpenCV.
And i think you can find a template from this site
http://www.ient.rwth-aachen.de/cms/software/opencv/
I am searching for face detection technique in iPhone. In my app I want to detect moving motion of face using camera. So, if you have any idea about that then please guide me. I am trying with accelerometer but I could not get any idea. So, if you have any idea about that then please guide me.
Try open CV library for reference here's a link try it out
I agree that you should use OpenCV for this project, but getting it to work in XCode is tricky.
EDIT: The original link I posted is down (presumably because the author has written a book), but the OpenCV project now seems to have an iOS package here:
http://opencv.org/downloads.html
It's a little late, but you could use this for continues face detection:
https://github.com/evermeer/EVFaceTracker
There is a ready-made library dubbed Phonect that does this.
It's a motion detection engine for the iPhone -
Checkout the website at:
www.phonect.me
and the showcase app at:
http://itunes.apple.com/us/app/phonect/id466260946?mt=8
Cheers!
Oded.