# jeremy duncan

Member

16

101 Neutral

• Rank
Member
1. ## chase and evade AI applied to facial tracking

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.
2. ## My thoughts on AI. (It's not about games in particular)

I need to break down the sw into stages though. The first stage is steps 1-10 in my previous post; there is a graph with a straight line. The second stage is steps 11-13 in my previous post; any audio input has a chord matching it so it has a coordinate also, and so shape can be built by stringing different coordinates created together. The third stage is 14 from my previous post: pattern matching the sentence to a shape, then fitting it in with other sentences shapes. Something like a 'wooden assembly puzzle' where the pieces fit together to make a wood cube is what I'm thinking about when I say the sentences shapes fit each other. Read 14 from my previous post if your confused as to what I am talking about.

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

Confusing text removed. I hope that's ok in this forum.
5. ## My thoughts on AI. (It's not about games in particular)

Confusing text removed. I hope that's ok in this forum.
6. ## My thoughts on AI. (It's not about games in particular)

Confusing text removed. I hope that's ok in this forum.
7. ## My thoughts on AI. (It's not about games in particular)

Confusing text removed. I hope that's ok in this forum.
8. ## My thoughts on AI. (It's not about games in particular)

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.
9. ## My syllogism program

I did simplify the syllogisms and see now that ruined it, so I will go and update my program so the syllogisms are verbatim to what the charts show at Wikipedia. It'll take a while though.
10. ## My syllogism program

That would actually go like this: [code] some friend is here jeremy are friend some jeremy is here some friend is here jeremy are friend some jeremy are not here some friend is here jeremy are friend some friend are not here [/code] What is supposed to happen is the S in the syllogism is made into a word from a word list. S in my examples I just posted is the noun 'jeremy' in the second sentence. The second and third sentences are made by the program by only using the first sentence. So if you get a logical answer then the code made two thoughts/sentences properly, showing it understood the input enough to create two sentences. And it's not my logic, I just used the Venn diagrams over at Wikipedia that the other person linked too. So I can't say the logic is totally true all the time. My goal is since words change the proper usage of the syllogism I am happy that only one syllogism is correct out of the three each time the program is run. And this is the program result for "some friend is here" in the program: [code] some friend is here __________________________________________ Type Celarent (EAE-1) or Celaront (EAE-1) Syllogism pattern No M is P S are M Celarent some friend is here. avowed are friend. some avowed is here Celaront some friend is here. avowed are friend. Some avowed are not here Felapton some friend is here. avowed are friend. Some friend 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 . . . [/code]
11. ## My syllogism program

In the Wikipedia site on the Venn Diagram for Celarent, Celaront, Felapton, it is "No M is P". After being told here: [url="http://www.chatbots.org/ai_zone/viewthread/752/"]My link[/url] that "No, it is still wrong: no dog is here. bloodhound are dog. Some bloodhound are not here If bloodhounds are dogs then ALL bloodhounds are not here." "Ok, let’s assume there is a room in which no dogs are in it. A bloodhound is a dog, so there are NO bloodhounds in the room. I wouldn’t believe all you read on Wikipedia." So I changed the wording from No to Some. Since Some dogs are Bloodhounds. It would be worse if I said "No dog is here. Bloodhounds are dog. Some Bloodhound is here". So I don't know which way to go on this honestly, and I wonder if one of you is wrong.
12. ## My syllogism program

So I have re-uploaded the source in the first post, now the output makes more sense.
13. ## My syllogism program

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: [code] 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 . . . [/code] I have updated this post and the attached file. To open it, remove the txt extension and unzip it.