Bindings for the iCube SDK C API
⚠️ This is not an official https://net-gmbh.com project
See the examples
directory for usage examples.
See the official documentation shipped with the SDK.
Download from: https://net-gmbh.com/en/machine-vision/products/cameras/usb2-icube/
Unpack the correct version and you will find:
- driver
- SDK
- documentation
To install the driver, use dpkg, for example:
dpkg --install netusbcam_1.39-1_amd64_libudev.deb
When loading the library, you may encounter and error telling that libudev.so.0
is missing. To fix this, install the libudev0
package:
sudo apt-get install libudev0
You may encounter a permission error, this because libNETUSBCAM*.so
uses libusb
to access the device directly.
The easy way to fix this is to allow the current user to access the device (NETUSBCAM).
Create /etc/udev/rules.d/99-netusbcam.rules
with the following content:
SUBSYSTEM=="usb", ATTR{idVendor}=="152a", ATTR{idProduct}=="*", MODE="0666", GROUP="plugdev"
You may want to verify the idVendor
and idProduct
by running lsusb
.