nagai03 / kinect-ultra

Automatically exported from code.google.com/p/kinect-ultra
Other
0 stars 0 forks source link

no shooting laser #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Ive transformed into the superhero and made my "hat" fly, but I cannot shoot 
the two different lasers as seen in the youtube video. What do I need to do??

Please help.

Martin

Original issue reported on code.google.com by martin.e...@gmail.com on 18 Jan 2011 at 9:40

GoogleCodeExporter commented 8 years ago
Here's the hints. See FAQ in Wiki also for some tips to improve the accuracy of 
pose detection.

(1) Wide Shot: Form "L" by lower arms. (right arm upright & left arm level.) 

(2) Emerium Beam (Yellow): Place both hands right front of forehead. Elbows 
should be wide open. Don't cover your head too much by your hands because the 
camera needs to know where your head is.

(2) Emerium Beam (Green): Keep left lower arm level in front of chest, and 
place left hand close to neck. Keep right hand lower than left.

Original comment by tom...@gmail.com on 18 Jan 2011 at 10:53

Attachments:

GoogleCodeExporter commented 8 years ago
Hi, ive tried the poses you refere to on the picture. this video is me trying 
to get them to work (i know it is low qual!) 
http://www.youtube.com/watch?v=BiBfHvR5VUM  
Maybe you can say what I am doing wrong. Or is it my GPU? 

Original comment by martin.e...@gmail.com on 18 Jan 2011 at 1:36

GoogleCodeExporter commented 8 years ago
Martin, if this video captures your screen fairly correctly, it seems the frame 
rate is too low. This software is designed to work on higher frame rate such as 
15 frames/sec at least, but your frame rate looks about one or two per second 
which would make the pose detection difficult. Perhaps you need another PC at 
higher performance.

The resaon is you need to stay on the same pose for several frames to trigger a 
power. It would be less than a half second if you had enough frame rate, but it 
could be several seconds at a low frame rate.

I may be able to make some code change this weekend to make it a little easier 
at a low frame rate. However, note that the beams would not look very neat at 
this frame rate anyway.

Original comment by tom...@gmail.com on 18 Jan 2011 at 8:14

GoogleCodeExporter commented 8 years ago
No that is just because it is a low qual video! just 2 sec. and I will upload a 
much better video! belive me...the framerate is accelent!

Original comment by martin.e...@gmail.com on 18 Jan 2011 at 8:25

GoogleCodeExporter commented 8 years ago
here you go. http://www.youtube.com/watch?v=2bte0Zj86dA

see the framerate..thats not an issue

Original comment by martin.e...@gmail.com on 18 Jan 2011 at 8:43

GoogleCodeExporter commented 8 years ago
Hmm, if so, it is difficult to say... I think your pose is fine. (Only one 
thing -- use your left arm, not right arm, to fire Emerium Beam Green.) Thanks 
for showing me another video that captures the frame rate more accurately. It 
may give me some more idea.

Original comment by tom...@gmail.com on 18 Jan 2011 at 8:45

GoogleCodeExporter commented 8 years ago
thanks for quick respons. I hope you can fix the issue even though you dont 
know what the solution is yet!-) And thanks again for a great kinecthack!

Martin

Original comment by martin.e...@gmail.com on 18 Jan 2011 at 9:00

GoogleCodeExporter commented 8 years ago
Now I have looked at your video and, yes, you are correct. The frame rate is 
not an issue here.

One possibility I can think of is the difference in the size of the body. I 
tuned the pose detection parameters (like "your hand and your head must be 
within this distance") based on the size of my body (160cm tall). If your are a 
person much bigger than me, those parameters could be too small (severe) for 
you. I'm not sure, but just a possibility.

p.s. Note the pose detection is left-right sensitive.

Original comment by tom...@gmail.com on 18 Jan 2011 at 9:04

GoogleCodeExporter commented 8 years ago
ok that could maybe be it, since im 190 cm tall. Dammit ;-) I was very much 
looking forward to try it.

Original comment by martin.e...@gmail.com on 18 Jan 2011 at 9:50

GoogleCodeExporter commented 8 years ago
I will create a more "generous" version later and upload here so that you can 
try and prove this hypothesis. Thanks for your help and patience.

Original comment by tom...@gmail.com on 18 Jan 2011 at 9:55

GoogleCodeExporter commented 8 years ago
Martin, I created a "trigger happy" version with looser (maybe a little too 
loose) pose detection parameters for the experimental purpose. Please download 
the attachment, place it in the same directory as kinect-ultra.exe, and try it. 
Does it work?

If yes, also let me know how you feel with the pose detection. (e.g. a kind of 
OK, too loose, still difficult, it's a fun!, etc.) If no unfortunately, I would 
need to investigate some more.

Thanks!

Original comment by tom...@gmail.com on 19 Jan 2011 at 9:48

Attachments:

GoogleCodeExporter commented 8 years ago
Yes! That was it! Its works for me now. thanks for the quick support.

Original comment by martin.e...@gmail.com on 19 Jan 2011 at 3:05

GoogleCodeExporter commented 8 years ago
Thanks for your feedback. I plan to add a feature to adjust the sensitivity by 
hitting some key.

Original comment by tom...@gmail.com on 20 Jan 2011 at 1:29

GoogleCodeExporter commented 8 years ago
"Trigger Happy Mode" released in V0.1d.

Original comment by tom...@gmail.com on 22 Jan 2011 at 9:10

GoogleCodeExporter commented 8 years ago
I noticed that I had made the detection of Wideshot more strict than intended, 
so I fixed it also in 0.1e.

Original comment by tom...@gmail.com on 6 Mar 2011 at 4:52