im trying to find out a way to retouch an face picture.
the way i want to retouch is make the eye a little bit bigger.
anyone know a library/framework for iOS which might be useful for it?
Core Image might help with detecting eyes on a face.
See http://maniacdev.com/2011/11/tutorial-easy-face-detection-with-core-image-in-ios-5/ for example!
Related
I need to detect the full face region in my app...
Is it possible to detect that region ?
Currently i was using the CIDector to get the face features...
CIDector detects only nose,left and right eye...
how do i detect the entire full face(not as square marked face entire space. I attached the image below exactly what is the need) from the source image...?
any idea or solution for this problem is highly appreciated...
Thanks in advance....
Regards,
Spynet
I am not sure, if it is possible to do it using CIDetector. I would recommend you more sofisticated solution like OpenCV. Take a look here: http://www.eosgarden.com/en/opensource/opencv-ios/overview/
and to the OpenCV documentation:
http://opencv.willowgarage.com/wiki/
Hope it helps. It is ore complicated way but you can handle it.
I'm new to IOS development, and want to create something with tiles similar to what you see here. http://www.youtube.com/watch?v=i7giaN5T7ww
Since I'm a beginner, I see myself placing a bunch of buttons on the screen and labeling them to how I see fit. Then figuring out how to move multiple "buttons" at once. I was wondering how you think the tiles are created in this program? If not done by a bunch of buttons, could someone show me code to draw a tile with dimensions of 48x48 pixels, then place a letter on the tile?
Also, if you could point me to some helpful resources that would help me develop something along the lines of a project like this, I would most appreciate it. I'm excited and very motivated to learn and master IOS development and consequently objective-c.
My knowledge is limited to what I've learned by watching and coding along to these two YouTube playlists:
http://www.youtube.com/user/thenewboston#p/c/640F44F1C97BA581
http://www.youtube.com/user/thenewboston#p/c/53038489615793F7
They've been extremely helpful in helping me understand the basics of Objective-C and Iphone development. Unfortunately, it didn't get into drawing and manipulating objects on the screen.
Thanks in advance for your help. I've found this site and its users quite helpful already. :)
I have kind of similar apps in the app store and I used in one case UILabels and in another case UIViews with UIImageViews as subviews. The movement of the labels I have implemented with the methods touchesBegan:withEvent, touchesMoved:withEvent and touchesEnded:withEvent.
I just ran a sample code using opencv for face detection. It is detecting the edges and face quite nicely.
I was wondering, if anyone has any idea how I can somehow differentiate hair and face? I know we can probably use the hair colour contrast but someone else pointed out that if the person is blond, it won't work.
Any ideas or suggestions are more than welcomed.
Many thanks.
Here is another thread in SO about detecting hair in a face picture with OpenCV: Detecting hair in a portrait image? . It has some cool ideas and links to a paper which might be the solution you're looking for.
What is the best way I center the screen to follow the character? Should I use CCCamera or just move the background around?
I am new to cocos2d so please show me exact code.
BTW: I am also using box2d in this project.
Thanks
Try this...
[self runAction:[CCFollow actionWithTarget:(your hero) worldBoundary:CGRectMake(0,0,1050,350)]];
It will follow your character (your hero).
Hey there,
You have always to choose between the best way and the best way in your situation. A problem has multiple ways how you can solve it. So I can just tell you how I did it.
A few weeks ago I released my first game. (If you are interested check it out: Birdy!) I also used Cocos2d and had the same problem like you. The player should always be in the center of the screen. I've choosen the way to move the background. I added 2 things to the GameScene: The background and the bird. And I set the background as the bird's delegate. So as soon as the bird performs a jump for example, the background is moved in the opposite direction.
I think for my situation it was the best method. But I can't talk about CCCamera because I never did anything with that class...
I hope I could help you a little bit. But it's always a bit difficult to find the right way. So you should also think about things you will optionally add in the future. So perhaps my way does not fit your requirements...
I hope also my english is understandable...
Sandro Meier
In an application, i saw that they used to display pictures of vehicles. But what was amazing was when we touch and swipe in that picture, it rotates in 3d way left and right. And from the front view we can rotate and get to see its back view also. It is a very good feature and i was trying to replicate it. But couldnt get an idea of how and where to start. My doubts are
Whats the actual format of the thing, it surely isn't a picture.
How do they get to rotate it?
Could someone give me an idea where i should start or where I should look upon?
Just like the KennyTM told you, OpenGL-ES is the weapon of choice. Take pictures of that object from all the sides you need to show, then use those as textures for the faces of the cube. Got the idea?