Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 533 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 19 of 26 1 2 17 18 19 20 21 25 26
Re: What are you working on? [Re: HeelX] #413830
12/18/12 20:39
12/18/12 20:39
Joined: Jul 2002
Posts: 3,208
Germany
Error014 Offline
Expert
Error014  Offline
Expert

Joined: Jul 2002
Posts: 3,208
Germany
HeelX, this is fascinating. Any chance you could explain in simple terms (so that an idiot - say, me - would understand it) what your code does to detect the face? laugh


Perhaps this post will get me points for originality at least.

Check out Dungeon Deities! It's amazing and will make you happy, successful and almost certainly more attractive! It might be true!
Re: What are you working on? [Re: Error014] #413844
12/18/12 21:56
12/18/12 21:56
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Thanks smile

In this setup, I sample at each graph node in the source image (upper left image) the local textures at specific points of the face - e.g. the nosetip, the eye corners, the cheeks, the eyebrows, the iris, etc. The facegraph has 52 nodes, so I have 52 local texture models of parts of the womans' face. The texture models are not trivial as they code arbitrary textures by complex-valued waves... fancy stuff!

To find the face in a new image, I move the center of the graph pixelwise over the destination image.

For each pixel I and compare at all 52 graphnodes the node-textures from the source image with the texture at the position of the current graph node in the new image. This comparison is powered by a mathematically function, that returns a number, which represents the similarity of the texture patch in the new image with the texture model in the graph node. The higher the number, the more similar is the texture patch with the texture model in the node.

I sum all similarities up and divided them through 52. This is the value I write in a so called similarity map - the pixel with the highest value in this map is the position in the image where a face seems to be most likely.

There are 5 similarity maps shown in which I test 5 different similarity functions. They have all pros and cons regarding quality, speed and accuracy. The Abs-Similarity function for example is fast and accurate for a very first raw guess.

Finding the face involves more steps which I will implement over Christmas and New Year's Eve, like scaling/rotating the graph and different search steps with different similarity functions and single node-positioning. For GENERAL face detection, a special so called Maximum Likelihood Estimator is trained over a bunch of faces to create a generic and independent model of a human face.

Re: What are you working on? [Re: HeelX] #413937
12/20/12 00:06
12/20/12 00:06
Joined: Jul 2002
Posts: 3,208
Germany
Error014 Offline
Expert
Error014  Offline
Expert

Joined: Jul 2002
Posts: 3,208
Germany
Thank you! Explanation is much appreciated laugh

Really interesting topic, and with such a clear use as well. I seem to remember that you're doing that as your Master's thesis, is that right?


Perhaps this post will get me points for originality at least.

Check out Dungeon Deities! It's amazing and will make you happy, successful and almost certainly more attractive! It might be true!
Re: What are you working on? [Re: Error014] #413965
12/20/12 12:37
12/20/12 12:37
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Originally Posted By: Error014
I seem to remember that you're doing that as your Master's thesis, is that right?


Sort of. I have chosen a certain state of the art method and what I do is changing things and/or implementing new stuff. At the moment I am in the midst of re-creating the baseline technique with Java and OpenCV. Later I'll add my stuff and then I evaluate the methods against data. Then I compare the numbers and if my numbers are better, my proposed changes have a fair chance of being an improvement over the original algorithm. If not, then not.

Last edited by HeelX; 12/20/12 12:38.
Re: What are you working on? [Re: HeelX] #414707
01/06/13 22:34
01/06/13 22:34
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
First basic version of the scan-scale-and-rotate matching algorithm implemented.

(image removed)

Shown are the source image from which the model is taken and the search image with given angle = 7° and scale = 1.2; the search resulted an angle of 5° and a scale of 1.8; below the images are the similarity map (best positions), the scale map and the angle map shown. Don't care about the consumed time. It is not a realtime technique and is scheduled differently in the resulting, surrounding algorthm in a coarse-to-fine manner.

Last edited by HeelX; 01/23/13 10:10.
Re: What are you working on? [Re: HeelX] #416256
01/29/13 19:18
01/29/13 19:18
Joined: Nov 2002
Posts: 913
Berlin, Germany
S
SchokoKeks Offline
User
SchokoKeks  Offline
User
S

Joined: Nov 2002
Posts: 913
Berlin, Germany
Since jcl is taking very long for the android conversion (in case he is even working on it) I took matters into my own hand and wrote my own OpenGl ES 2.0 Renderer and MDL5 mesh loader. Wasn't nearly has hard as I had thought.



So I'm also stepping away from the 3DGS after over 10 years of usage.. I had a great time with you all!

Re: What are you working on? [Re: SchokoKeks] #416262
01/29/13 19:48
01/29/13 19:48
Joined: Jan 2003
Posts: 4,305
Damocles Offline
Expert
Damocles  Offline
Expert

Joined: Jan 2003
Posts: 4,305
Good,
waiting for an engine that seems to be in the clouds will
just slow you down.

If you want to develop for Android better go the direct (and independent) way.

Re: What are you working on? [Re: Damocles] #416263
01/29/13 20:11
01/29/13 20:11
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
Last weekend I participated in the global game jam at InnoGames in Hamburg, we we were a team of six people who never met before and while I miss fun gameplay, we are still quite proud of our result: http://slindev.com/glow/ (should be played with sounds)

Re: What are you working on? [Re: Slin] #416275
01/29/13 22:51
01/29/13 22:51
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Originally Posted By: Slin
Last weekend I participated in the global game jam at InnoGames in Hamburg, we we were a team of six people who never met before and while I miss fun gameplay, we are still quite proud of our result: http://slindev.com/glow/ (should be played with sounds)
Nice concept! Though I never reached a flower. It's too dark.

Re: What are you working on? [Re: HeelX] #416277
01/29/13 23:04
01/29/13 23:04
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Slin, it crashed for me:


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Page 19 of 26 1 2 17 18 19 20 21 25 26

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1