I have a camera from Intel RealSense (for artificial intelligent modules to use), camera has C/C++11/Python/Node.JS/Unity/.Net/LabView support but not PureBasic.
how to use there C/C++11 modules and drive it via PureBasic? Can anyone please help so that i can get started.
https://github.com/IntelRealSense/librealsense/releases
Intel RealSense help
-
- User
- Posts: 89
- Joined: Mon Aug 31, 2009 2:11 pm
Intel RealSense help
-----
Registered PureBasic Coder.
Registered PureBasic Coder.
Re: Intel RealSense help
Do you make this thing?
Re: Intel RealSense help
SInce it works with C, there is a way to make it work in PB.
You need to write a 'wrapper' for the library.
For a complete SDK this is a very big project.
But if you only want to include soem functionalities, like to port this to PB:
https://github.com/IntelRealSense/libre ... distance.c
Then you need only to write a wrapper/importer for the used functions and structures.
You need to write a 'wrapper' for the library.
For a complete SDK this is a very big project.
But if you only want to include soem functionalities, like to port this to PB:
https://github.com/IntelRealSense/libre ... distance.c
Then you need only to write a wrapper/importer for the used functions and structures.
Re: Intel RealSense help
I'd never writing wrappers for C-libs. Where I can read about it (some tutorials will be ok)?
Re: Intel RealSense help
There is no tutorial
You need to define the used structures and used constants, then you have to Import the used functions with
Import or ImportC
An example:
viewtopic.php?p=591869
Or simply type wrapper in the search field of the forum, you will also find other examples.
You need to define the used structures and used constants, then you have to Import the used functions with
Import or ImportC
An example:
viewtopic.php?p=591869
Or simply type wrapper in the search field of the forum, you will also find other examples.