Software Archive
Read-only legacy content
17061 Discussions

Deploying an application that uses SDK components

Dmitry_F_
Beginner
883 Views

Hello everyone,

I use Speech Recognition component for my application. During development I installed SDK on my machine, now I'm going to run this application on another machine. Is it possible to use RealSense components without SDK installation, i.e. just copying required dlls? If so, could you suggest how it can be done?

Thanks

0 Kudos
7 Replies
MartyG
Honored Contributor III
883 Views

I would guess that the DLLs get incorporated into an installer when you publish your program so that it can be run without the full SDK being present.  This is certainly the case with Unity, where creating a build produces an executable file and an accompanying folder of assets that the executable file needs to run.

Here's an image of the folder of files that accompanies my exported project.  You can see the Plugins folder that contain the DLL.

data.jpg

If you want to create an installer for a non-Unity program ... I do not have any knowledge on that but I'm sure the subject has been discussed on this forum before, so maybe others can offer useful advice.

0 Kudos
RBang
New Contributor II
883 Views

From my experience, you can't use them without installing the SDK first, because there are some components the camera needs apart from the dll's to make it work. 

0 Kudos
MartyG
Honored Contributor III
883 Views

My guess is that the library files are pretty independent from the RSSDK folder once you have copied them into your project.  If you look through what's in RSSDK, other than the library files it's mostly files for the sample applications.  I wouldn't swear blind that an in-development program would still work if RSSDK was deleted (since I've never tried doing so), but in terms of published programs there must surely be independence of operation from RSSDK, otherwise the end-users would have to install the SDK in order to be able to use your application.

0 Kudos
Dmitry_F_
Beginner
883 Views

Rishabh B., Marty G., 

many thanks for your comments. Unfortunately I couldn't publish my application without installed RSSDK  to use Speech Recognition, as I can see to use Speech Recognition within RSSDK additional windows service must be installed and RSSDK installation does it.

 

0 Kudos
MartyG
Honored Contributor III
883 Views

Now I think about it, it's not uncommon for application development software to have reliability on certain components during editing of the project and then, during the exporting of the project into a published executable, strip out the editor tools not needed  to run the finished program.

Edit: if you need portability of a project between machines, maybe you could install the SDK on a USB storage stick.

0 Kudos
RBang
New Contributor II
883 Views

Marty G. wrote:

My guess is that the library files are pretty independent from the RSSDK folder once you have copied them into your project.  If you look through what's in RSSDK, other than the library files it's mostly files for the sample applications.  I wouldn't swear blind that an in-development program would still work if RSSDK was deleted (since I've never tried doing so), but in terms of published programs there must surely be independence of operation from RSSDK, otherwise the end-users would have to install the SDK in order to be able to use your application.



Till now, everytime I've used my application on different computers, I've had to install both the DCM driver and SDK. Mainly because employing the use of the Real Sense F200, requires both those two to be present, so maybe in laptops with integrated Real Sense cameras, it might not be needed,

0 Kudos
MartyG
Honored Contributor III
883 Views

Apparently, RealSense-equipped laptops and cameras tend to use the lesser known third type of "R100" RealSense camera called the Snapshot which is mostly focused on still-image processing and does not support the SDK functions in the other cameras like the F200 and R200.  The HP Sprout desktop computer with an overhead RealSense downward-pointing camera, meanwhile, apparently uses an F200 but has its own dedicated variant of the SDK.

https://software.intel.com/en-us/forums/topic/540098

0 Kudos
Reply