Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


jeremy duncan

Member Since 16 Dec 2011
Offline Last Active Jul 17 2013 09:01 PM

Topics I've Started

chase and evade AI applied to facial tracking

17 July 2013 - 09:00 PM

What I have to say here is an idea for tracking in 3d space for use in the oculus vr.

 

Now bear in mind that I'm learning c# and unity right now and in a years time I should be able to try some things to do what I want. So this is really just a few questions to more experienced developers on what is possible.

 

I have thought through what I am trying to do and will describe it now.

 

A cube is beside a mirror and the mirror is above the cube, and the mirror is facing the cube, so the mirror is facing downwards.

 

A light souce like a laser pen is shining upwards and the laser pen is beside the cube and below the mirror, and the mirror is recieving light from the laser pen and shining the light it recieves from the laser pen onto the cube.

 

It looks like this;

See picture A.jpg

 

Now the laser is shing onto the cube the cube also has a mirror so the laser beam is shing onto a different surface, this is where it gets tricky.

See picture B;

 

The surface the cube reflects the laser light onto is called "destination".

"Desctination" has a moving dot that is chased by the laser light from the cube, so that the laser light from the cube sits on top of the dot on the "destination".

See picture C to see the dot;

 

So in pictures A,B,C, you see the overall mechanism I want to create.

Now the tricky thing is what happens when the cube redirects the laser beam light.

 

In order for the cube to redirect the laser beam light onto "destination", the cube must have a surface that moves in the xy axis positions, so the moving surface must sit on top of the cube.

See picture D;

 

Now as the moving surface redirects the laser light onto the "destination", the moving surface has changing xy axis coordinates.

Now what I want to know, is is it possible to create this moving surface that chases the dot on the "destination" and as it chases the dot the moving surface has accurate xy axis coordinates that change every time the moving surface moves,

so if the moving surface moves the xy axis coordinates change?

 

That is the basic design I have in mind.

Now the "destination" has a dot that the moving surface chases with the laser beam it is reflecting onto the "destination".

That moving dot on the "destination" is a facial point that is being tracked using facial recognition tracking point.

 

So the problem now is to video a face, apply facial tracking points to the face, feed the face with the points on it to the "destination", and then the moving surface sends the laser light onto the facial tracking point, whichever point I choose.

And as the facial point moves the moving surface sends light onto that point and then the xy axis coordinates change so the face moves has xy axis coordinates data in the moving surface as the moving surface sends light from the mirror onto the "destination".

 

I was thinking of using unity and c# to get the facial points, and then somehow getting unity movie texture to show the face with the points on it in a video game environment, then setting up the cube and shing the laser onto the movie texture and somehow getting xy axis coordinates from this setup.

 

But I'm not sure the movie texture can be used like this. So since I am learning c# and unity and I will put a lot of time and effort into this I thought I would ask if what I want to do is possible or not before I put too much effort into this project I want to do.


My thoughts on AI. (It's not about games in particular)

15 March 2012 - 03:23 AM

Confusing text removed. I hope that's ok in this forum.
But if you really want to see what was confusing by reading the text yourself, click the 'hstory' button on the button of the post to see the deleted text.

The current thread related text I want to talk about has 14 steps and is a few posts down.

My syllogism program

16 December 2011 - 11:30 PM

My syllogism program is made in the c programming language. Normally syllogisms require twos sentences, but my program requires only one sentence.
It then creates the minor premise and the conclusion of the syllogism.

The program is built so that if the first answer it makes is wrong, you mark it zero and then try the syllogism again and it then gives you a different answer. You do this until your happy with the answer then you mark it one.

I made this program for my artificial intelligence project, but i don't know what to do next. So I'm hoping by posting this you can try the program out and give me some ideas of what to do next with my program.

Here are some examples of the program running:

 Type 1 to run the program
1


Enter a sentence, all lower case.
Rename X and Y with words, the new word must have both a letter and vowel in it.

Formats of sentences:

A.)X are Y
B.)some X is Y
C.)some X are not Y


some dog is here

__________________________________________

Type Celarent (EAE-1) or Celaront (EAE-1) Syllogism pattern

No M is P
S are M


Celarent

some dog is here.
bloodhound are dog.
some bloodhound is here

Celaront

some dog is here.
bloodhound are dog.
Some bloodhound are not here

Felapton

some dog is here.
bloodhound are dog.
Some dog are not here

__________________________________________


Was the syllogism logical? 1 for yes, 0 for no: 1
Close program? 1 for yes, 0 for no: 0



Enter a sentence, all lower case.
Rename X and Y with words, the new word must have both a letter and vowel in it.

Formats of sentences:

A.)X are Y
B.)some X is Y
C.)some X are not Y


some bad is here

__________________________________________

Type Celarent (EAE-1) or Celaront (EAE-1) Syllogism pattern

No M is P
S are M


Celarent

some bad is here.
backstabber are bad.
some backstabber is here

Celaront

some bad is here.
backstabber are bad.
Some backstabber are not here

Felapton

some bad is here.
backstabber are bad.
Some bad are not here

__________________________________________


Was the syllogism logical? 1 for yes, 0 for no: 1
Close program? 1 for yes, 0 for no: 1

Press any key to continue . . .

I have updated this post and the attached file. To open it, remove the txt extension and unzip it.

PARTNERS