forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Plausibility of reading camera input and writing on it.

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
pwillxorz



Joined: 16 Jan 2009
Posts: 2

PostPosted: Fri Jan 16, 2009 3:17 am    Post subject: Plausibility of reading camera input and writing on it. Reply with quote

I'm currently in a class where I'm studying augmented reality, and we're discussing possible devices to run our final projects on (we're supposed to have an AR experience we've made ourselves at the end of the class).


A lot of the class is going with iphones...... but I don't have the extra money to throw away for an iphone, let alone a dev license. I do however have a psp and access to the "official" webcam type deally. I was wondering if anyone's written drivers for capturing video and displaying it on the screen from the cam in homebrew. I've done a relatively extensive search on the subject, and though this is my first post, I've been on these forums for a few years, off and on... I've never actually programmed something for my psp, and would slowly ramp up to this project, but I'd like to know if some of the code I'd need is already available.

tl;dr version: I need to know of ANY and ALL webcam type drivers available to the homebrew community.

I'm not requesting people to write anything for me, for the record!
Back to top
View user's profile Send private message
hibbyware



Joined: 28 Mar 2007
Posts: 78

PostPosted: Fri Jan 16, 2009 4:34 am    Post subject: Reply with quote

I have not used the cam in anything so I'm not really sure what source code is available,

Here are a few things that may help you get started,

Take a look at http://psp.jim.sh/pspsdk-doc/pspusbcam_8h.html

and http://silverspring.lan.st/5.00/kd/usbcam.xml

and http://forums.ps2dev.org/viewtopic.php?t=7074

Once you know the function names maybe google could help,
Back to top
View user's profile Send private message
pwillxorz



Joined: 16 Jan 2009
Posts: 2

PostPosted: Fri Jan 16, 2009 4:42 am    Post subject: Reply with quote

thank you so much!
Back to top
View user's profile Send private message
pegasus2000



Joined: 12 Jul 2006
Posts: 160

PostPosted: Sun Jan 18, 2009 1:19 am    Post subject: Re: Plausibility of reading camera input and writing on it. Reply with quote

pwillxorz wrote:
I'm currently in a class where I'm studying augmented reality, and we're discussing possible devices to run our final projects on (we're supposed to have an AR experience we've made ourselves at the end of the class).


A lot of the class is going with iphones...... but I don't have the extra money to throw away for an iphone, let alone a dev license. I do however have a psp and access to the "official" webcam type deally. I was wondering if anyone's written drivers for capturing video and displaying it on the screen from the cam in homebrew. I've done a relatively extensive search on the subject, and though this is my first post, I've been on these forums for a few years, off and on... I've never actually programmed something for my psp, and would slowly ramp up to this project, but I'd like to know if some of the code I'd need is already available.

tl;dr version: I need to know of ANY and ALL webcam type drivers available to the homebrew community.

I'm not requesting people to write anything for me, for the record!



You need absolutely Nanodesktop.
We've the tecnology that you're looking for.

Unfortunately, our servers are down until Monday, but you can
obtain infos at www.psp-ita.com
Back to top
View user's profile Send private message
Dariusc123456



Joined: 12 Aug 2008
Posts: 394

PostPosted: Sun Jan 18, 2009 3:04 pm    Post subject: Reply with quote

http://dl.qj.net has Nanodesktop.

Whats so great about Nano Desktop?
Back to top
View user's profile Send private message AIM Address
pegasus2000



Joined: 12 Jul 2006
Posts: 160

PostPosted: Sun Jan 18, 2009 6:37 pm    Post subject: Reply with quote

Dariusc123456 wrote:
http://dl.qj.net has Nanodesktop.

Whats so great about Nano Desktop?


It is the most powerful tecnology for PSP development ever
realized in Italy. It has simple primitive for accessing to GoCam,
to the microphone, for network connection, an own graphical
system, a system for I/O accessing, disk cache manager,
file manager, VOIP, mathematical acceleration.

Other all, it integrates the support for OpenCV and a module for
algorithms of artificial vision. It you want to create applications
as augmented reality, Nanodesktop is the natural way.

This is a video of the new Blind Assistant CFW0005, the most
important application realized using nd.

http://www.psp-ita.com/?module=news&id=24435&view_reply=1
Back to top
View user's profile Send private message
Dariusc123456



Joined: 12 Aug 2008
Posts: 394

PostPosted: Mon Jan 19, 2009 12:07 am    Post subject: Reply with quote

But whats the differents from the pspsdk and Nano Desktop? Thats whats confusing me.
Back to top
View user's profile Send private message AIM Address
pegasus2000



Joined: 12 Jul 2006
Posts: 160

PostPosted: Mon Jan 19, 2009 12:40 am    Post subject: Reply with quote

Dariusc123456 wrote:
But whats the differents from the pspsdk and Nano Desktop? Thats whats confusing me.


Nanodesktop works at high level.

Code:

#include <nanodesktop.h>
int ndMain()
{
 int UsbHandleCamera;
 int Counter;
 ndInitSystem ();
 UsbHandleCamera = ndHAL_CAM_ActivateCamera(ND_USE_PSP_GOCAM);
 
 if (UsbHandleCamera>=0)
 {
 for (Counter=0; Counter<1000; Counter++)
  {
   ndHAL_CAM_GrabNewImage (UsbHandleCamera, ND_CAM_TO_BASESCREEN, 0, 0, RENDER);
  }
 }
 else
 {
  printf ("GoCam is not connected \n");
  ndDelay (2);
 }
}


This program captures the images from the Sony GoCam and shows it
in the screen. Using PSPSDK you need hundreds of rows to
obtain the same result.
Back to top
View user's profile Send private message
Dariusc123456



Joined: 12 Aug 2008
Posts: 394

PostPosted: Mon Jan 19, 2009 8:42 am    Post subject: Reply with quote

I might check it out.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group