Sorry for my English but this is not my native language. I will try to add some threading to my project (for the USB device update function that must be called repeatedly). For now I'm running only in debug mode (with no optimizations) and I can squeeze 15 fps in 640x480 with no problems. Modified PS3EyeDriver (from Eugene Zatepyakin) compiled with 圆4 profile (I created a separate static lib from his work that we can use in our OpenCV projects). WinUSB kernel driver (installed with Zadig utility, the WinUSB kernel driver is provided by Microsoft) You must connect the PS3Eye to your machine and then install one of the generic kernel drivers. Here is the link for the installer: If you don't trust it, you can try this one. The real generic driver can be installed separately. No worry about the libusb thingy because there is a open source installer that will do it for you. Considering that I don’t think this will even provide direct OBS support due to lack of DirectShow drivers (not sure about this though), I don’t want to take that risk unless someone already did this successfully. However, they seem to require Libusb for Windows for which I’ve read many threads saying that it disabled the user’s USB ports. I’ve read reports from Linux users who use different (and free) drivers: There are SDK and “professional” packages available, but their multi-cam support is only theoretical and by no means out-of-the-box. However, they only support one camera at a time. Unfortunately, so far using two or more PS3 Eyes is only possible in Linux. However, nowadays multiple cams are the standard, with one or even two for the players and an additional one for the commentators. Then right click on the PS3EyeInstaller project in the solution explorer and click build.The Sony Playstation Eye camera is only 10$ and by far the cheapest camera that does 480p60 with decent / good quality, so it’s very attractive to streamers. To build the installer, first build the 32 and 64 bit release configurations of the solution. If the DLL was built with a debug configuration it's possible to use WinDBG to set a breakpoint in the filter code which will be hit when using the camera with any DirectShow application. Use c:\windows\system32\regsvr32.exe /u to unregister the filter. If you have run the installer make sure to uninstall the package before doing this. If you would like to make the compiled DirectShow filters available to other applications, run c:\windows\system32\regsvr32.exe from an administrator command prompt. Next open PS3EyeDriverMSVC.sln and build the desired configs again. Build the solution with all desired configurations. If you don't have the Windows 8.1 SDK, change the SDK target to Windows 10 in all of the libusb project properties. Open libusb/msvc/libusb_2017.sln in Visual Studio 2017. There isn't any need to provide a custom DirectShow or WMF source for a native camera. Also Windows will automatically make those cameras available via the DirectShow API (both 32 and 64 bit) as well as Windows Media Foundation. On the other hand native camera drivers have slightly better performance. Search for the PS3 EyeToy camera in the Device Manager’s Imaging devices section and. ‘ Then select ‘ Device Manager ‘ from the list of available links under ‘ Devices and Printers. It provides a generic way for user space programs to communicate with the device.Īnother big advantage of a user space driver is it's much easier to directly make use of other libraries such as libusb and the github project that this driver is based on. To use the PS3 camera on a PC, go to the Control Panel from the ‘ Start ‘ option on the desktop and select ‘ Hardware and Audio. The part that runs in kernel space is the WinUSB driver and it's a stable component provided by Microsoft. This means any flaws in this driver will only affect the program that's using the camera instead of crashing the entire operating system. The biggest advantage is all of the code runs in user space instead of kernel space. This has several advantages and disadvantages compared to a native camera driver. This project makes use of the generic WinUSB driver to communicate with the camera.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |