diwi / ps3eye Goto Github PK
View Code? Open in Web Editor NEWSony PS3Eye Java/Processing Library.
License: MIT License
Sony PS3Eye Java/Processing Library.
License: MIT License
Hi, thanks for library, but I can't get it working.
ps3eye.start(); throws an error:
LibUsbExeption: USB error 6: error LibUsb.claimInterface: Resource busy
I am on arch linux.
Hi, first thanks for releasing this, i waited a solution for ps3eye on mac so badly...
you made my day
Just 2 comments, everything works fine but the vertical flip give a strange picture, sort of rgb mess...
its not a big deal for me, just to let you know
the other point is more like a request, i want to use on some project the fast mode of the cam, 320x240 at 120fps
sorry if it s already possible to do that but i didn't found it
Again, thanks a lot for sharing
Hey there,
out of whatever reason, the product and vendor IDs of my PS3EYE changed when updating to OSX 10.14 (Mojave), leading to PS3Eye not detecting the camera.
quick fix (in PS3Eye.java
):
// static final public short VENDOR_ID = 0x1415;
// static final public short PRODUCT_ID = 0x2000;
static final public short VENDOR_ID = 5141;
static final public short PRODUCT_ID = 8192;
How I got there:
find external USB cam with
ioreg -p IOUSB -l -w 0
and extract information on idProduct
resp. idVendor
from its return. This is what I got for the camera:
$ ioreg -p IOUSB -l -w 0
[...]
+-o USB Camera-B4.09.24.1@14300000 <class AppleUSBDevice, id 0x100000d1c, registered, matched, active, busy 0 (12 ms), retain 18>
{
"sessionID" = 1712473030119
"iManufacturer" = 1
"bNumConfigurations" = 1
"idProduct" = 8192
"bcdDevice" = 512
"Bus Power Available" = 250
"USB Address" = 24
"bMaxPacketSize0" = 64
"iProduct" = 2
"iSerialNumber" = 0
"bDeviceClass" = 0
"Built-In" = No
"locationID" = 338690048
"bDeviceSubClass" = 0
"bcdUSB" = 512
"USB Product Name" = "USB Camera-B4.09.24.1"
"PortNum" = 3
"non-removable" = "no"
"IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
"bDeviceProtocol" = 0
"IOUserClientClass" = "IOUSBDeviceUserClientV2"
"IOPowerManagement" = {"DevicePowerState"=0,"CurrentPowerState"=3,"CapabilityFlags"=65536,"MaxPowerState"=4,"DriverPowerState"=3}
"kUSBCurrentConfiguration" = 1
"Device Speed" = 2
"USB Vendor Name" = "OmniVision Technologies, Inc."
"idVendor" = 5141
"IOGeneralInterest" = "IOCommand is not serializable"
"IOClassNameOverride" = "IOUSBDevice"
}
this works like a charm.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.