Main > Lightguns |
A BYOAC Lightgun, are we up to it? |
<< < (17/32) > >> |
rdagger:
Since, my cab has an LCD monitor I am going to go with a camera approach. The field of computer vision is developing very quickly. It should be possible for a computer with a camera to discern 2 guns and determine where they are pointing. Instead of using LED tracking, the software could be trained to learn a gun's shape. This could be a very inexpensive solution, because it is all software based. You could use any webcam and you could use any gun. You could even use a real gun (just take out the bullets and wire the trigger to an encoder or use blanks for realistic recoil) Judging by the posts it seems like someone needs to start a BYOAC Lightgun website. |
Trimoor:
It can be done entirely in software, but that means more computing power is diverted from MAME. Tracking 3 points of light takes far less power than object recognition and orientation. The LED triad can probably fit inside the barrel, using a lens to spread them out. If the tracking software is good enough, you wont even need to pulse them. For the second gun, use four LEDs. |
sWampy:
--- Quote from: rdagger on March 08, 2005, 08:17:56 pm ---Since, my cab has an LCD monitor I am going to go with a camera approach. The field of computer vision is developing very quickly. It should be possible for a computer with a camera to discern 2 guns and determine where they are pointing. Instead of using LED tracking, the software could be trained to learn a gun's shape. This could be a very inexpensive solution, because it is all software based. You could use any webcam and you could use any gun. You could even use a real gun (just take out the bullets and wire the trigger to an encoder or use blanks for realistic recoil) Judging by the posts it seems like someone needs to start a BYOAC Lightgun website. --- End quote --- http://sourceforge.net/projects/opencvlibrary/ Has most of the code already written to do this, just slap an A or whatever on the end of one gun and a B or whatever on the end of the other, and you could be pretty set. You could even put led's in the gun where they were wireless if you wanted. |
sWampy:
--- Quote from: Trimoor on March 08, 2005, 09:19:47 pm ---It can be done entirely in software, but that means more computing power is diverted from MAME. Tracking 3 points of light takes far less power than object recognition and orientation. The LED triad can probably fit inside the barrel, using a lens to spread them out. If the tracking software is good enough, you wont even need to pulse them. For the second gun, use four LEDs. --- End quote --- You don't need the LED's in the gun. Worst case if you can't track the gun easily, put 3 reflective dots on one gun, and dots in a different pattern on the other gun, and point an ir led back at the player to get some light on them. |
ErikRuud:
Here is another head tracking application. http://freelook.org They specifically state that you can use an LED as a marker. |
Navigation |
Message Index |
Next page |
Previous page |