Showing posts with label PlayStation Eye. Show all posts
Showing posts with label PlayStation Eye. Show all posts

Sunday, 16 January 2011

gemtest sample for libgem

Today i have updated toochain,psl1ght and ps3libraries on my mac included nvidia shader stuff. A busy day xD.


After Matthew Parlane libgem commit there is no reason to add a sample for libgem in my repository and send to official psl1ght repo.

my repo:

https://github.com/bigboss-ps3dev/PSL1GHT

check https://github.com/HACKERCHANNEL/PSL1GHT when they accept changes.

Sample need PlayStation Eye and PlayStation Move.

It will track gyroscope sensor y axis and x axis and it will move camera frame with your Move device.

Tuesday, 7 December 2010

PlayStation Move is here...

Move with psl1ght work in progress , right now tryng to understand GemState variables to make cool things. Device is fully working and calibrating and hue tracking is right.

PS3Load v0.1
Waiting for connection...
Receiving data... (0x0000979e/0x00051bd0)
Launching...
Loading modules
camera module load return 0
gem module load return 0
Register callback return 0
lv2MemContinerCreate() returned 0
init screen
return from GemGetMemorySize 120000 size in bytes needed for move device to init libgem
lv2MemContinerCreate() for memory usage needed in libgem returned 0
preparing GemAttribute structure with sprus and memory stuff
calling GemInit with GemAttribute structure version=2 max_connect=1 spurs=D000FC20 memory_ptr=3F000004
return from GemInit 0
GemPrepareCamera return 0 exposure set to 400 and quality to 0.8
GemReset retunr 0
init pad
cameraInit() returned 0
Found me an eye, arrr!
cameraOpenEx returned 00000000
Video dimensions: 640x480
Buffer at 30015000
Set readCameraInfoEx data structure needed for Move hue tracking
Preparing GemVideoConvert structure by now i am not going to use it so output_format set to 1
GemPrepareVideoConvert return 0
GemPrepareCamera return 0 exposure set to 400 and quality to 0.8 before cameraStart
lets go!! look your face in Sony Bravia
GemGetState return 2
first calibrate device
GemCalibrate return 0
Calibrating is in proccess...
GemGetState return 5
Second set a hue value to track or let Sony choose for you :P
GemTrackHues return 0
Yeah Move it's running fine, light on!!!!!
GemGetState return 0
center of the sphere in world coordinates -30.902700 -64.770447 241.581284 1.000000
sphere velocity 0.000000 0.000000 0.000000 0.000000 mm/s
sphere acceleration 0.000000 0.000000 0.000000 0.000000 mm/s^2
device orientation in world coordinates 0.084998 0.124090 -0.144880 0.977950 radians/s
device angular velocity in world coordinates 0.000000 0.000000 0.000000 0.000000 radians/s^2
position player's hand in world coordinates -0.069252 -80.036690 339.186462 1.000000 mm
velocity player's hand in world coordinates 0.000000 0.000000 0.000000 0.000000 mm/s^
acceleration player's hand in world coordinates 0.000000 0.000000 0.000000 0.000000 mm/s^2
timestamp 1683306414
sensor temperature 0.000000
camera pitch angle 0.000000
tracking flag 0
before GemEnd
return from GemEnd 0
Exiting for real.

ugly captures with my old iphone:


Friday, 12 November 2010

PSL1GHT with Eye and EyeToy support

Matthew Parlane(Thank you for your explanation about nfid :P) made the real job, i only add EyeToy support in camera sample.


In the other hand, marcan made kinect open source driver (GRANDE marcan!!!!), ummm a port for PSL1GHT? perhaps i need more free time

you can get my changes at https://github.com/bigboss-ps3dev/PSL1GHT

Tuesday, 8 December 2009

EyePet tracking with EyeToy and PlayStation2

I bought EyePet last weekend. I have been playing with EyePet magic card and my own tracking code for PlayStation 2.

These are the result:



Next to come, mark detection and augmented reality stuff :P.

Thursday, 20 March 2008

macam adds support for PlayStation Eye

The last release 0.9.1 have added support for PlayStation Eye camera. Enjoy with your Mac :P

Download binaries or sources here