Results 1 to 4 of 4

Thread: cartoon face animation

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2013
    Location
    Poland
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    2

    Default cartoon face animation

    Hi,

    I am currently working on some project using ROS http://wiki.ros.org/
    I want to create a module which will be displaing an interactive, 2D cartoon-like face, sth like this:
    dep_5967912-Various-male-cartoon-faces.jpg

    The face has to be interactive in meaning I should be possible to nice animate eyes movement and mouth movement(during speaking and to express emotions like smile, etc.).

    My first thought was to implement it with qtgraphicsview framework, then I would have qgraphicsitems like eyes, mouth, eye-brows, etc. It would be apropriate for me as I am already familiar with Qt and it is already delivered with ROS.

    However I am not sure is it the right way... have you ever tried to do things like this with Qt?
    Maybe should I consider using some other tools/libraries to have this work easier?

    I don't have any experience with animation hence I am looking for any advices.

    I will apreciate any help

    Thanks in advance

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 334 Times in 317 Posts

    Default Re: cartoon face animation

    I guess drawing animated faces wont be straightforward.

    If you are not much of a designer, I would suggest go for some animated gif's and play them depending on the emotion.

    If you go for manual drawing, you will need to morph images to show the emotions, which I guess is not something easy.

  3. #3
    Join Date
    Mar 2013
    Location
    Poland
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    2

    Default Re: cartoon face animation

    OK, thanks for reply.

    I didn't mention that controling eyes is essential: it should keep eye contact with a person detected by camera. Hence I am not sure if it is possible with animated gif.

    Maybe I should consider using OpenGl and some model exported from Blender? Eye movement would be just rotation but how to implement lips movements? It doesn't have to be much complicated, just smiling, and moving while speaking.

    If you have any other advices I will very gratefull.

  4. #4
    Join Date
    Dec 2009
    Posts
    65
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows Android
    Thanks
    10
    Thanked 4 Times in 4 Posts

    Default Re: cartoon face animation

    it should keep eye contact with a person detected by camera
    When someone looks at camera while taking a photo, and you are looking at that photo, it looks at you no mater the position or angle you are looking from.
    So eyes movement on your animated character wouldn't keep eye contact at all, it will look more like trying to avoid eye contact (except when you are in the middle of capture).
    person detected by camera
    for face detection you should look at opencv library, but with my previous comment in mind, do you need it?

    as for animation, take small steps first, with just few images for all vocals, few for consonants, and emotions, show them in sequence depending on words, see how it goes

Similar Threads

  1. Replies: 1
    Last Post: 27th July 2012, 16:33
  2. Replies: 1
    Last Post: 28th March 2012, 02:43
  3. QML Animation
    By ujwala in forum Qt Quick
    Replies: 3
    Last Post: 11th August 2011, 08:14
  4. Set specific font's face
    By Cucumber in forum Newbie
    Replies: 3
    Last Post: 7th December 2010, 00:08
  5. How to design a state machine in face of non-blocking I/O?
    By piotr.dobrogost in forum Qt Programming
    Replies: 26
    Last Post: 14th August 2009, 19:48

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.