GithubHelp home page GithubHelp logo

ps3eye's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ps3eye's Issues

USB error 6

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.

Few stuff but mainly to thanks you

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

OSX 10.14 >> changed vendor and product IDs

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.