Items with no label
3335 Discussions

Getting Started - Javascript - realsense.js does not exist in filepath

MH000
Beginner
1,132 Views

Hi,

 

I've been struggling for a while now to get my project started. I am trying to use the camera for gesture control in a browser based program.

 

At the very beginning of the docs for the Realsense SDK, it asks us to include the realsense.js library located at $(RSSDK_DIR)/framework/common/JavaScript/realsense.js, the problem is, there is no such folders in my SDK folder.

 

Am I missing something? Have their been changes that weren't updated? The docs for SDK1 seem far more helpful, but since I am using SDK 2.0 I obviously do not want to reference those.

 

Furthermore, I have had a hard time finding any tutorials for getting started with Realsense and javascript, could anyone point me in the right direction?

 

Any help is appreciated.

0 Kudos
1 Solution
MartyG
Honored Contributor III
521 Views

If you have a D435 ​or D415 camera, advice about using them with browsers is in the link below.

https://github.com/IntelRealSense/librealsense/issues/3269#issuecomment-464305816

RealSense SDK 2.0 is incompatible with the 2016 Windows SDK based around RSSDK, so SDK 2.0 instructions will unfortunately not help you with the older SDK.

​If you wish to use JavaScript web components with the 2016 SDK that the realsense.js library relates to, this is at your own risk due to possible security vulnerabilities in the web component of those old Windows SDKs.

https://www.intel.co.uk/content/www/uk/en/support/articles/000023586/emerging-technologies/intel-realsense-technology.html

Here is the download page where SDK 2016 R3 for F200 and SR300 camera models can be found.

https://software.intel.com/en-us/realsense-sdk-windows-eol?language=en_US

View solution in original post

4 Replies
MartyG
Honored Contributor III
522 Views

If you have a D435 ​or D415 camera, advice about using them with browsers is in the link below.

https://github.com/IntelRealSense/librealsense/issues/3269#issuecomment-464305816

RealSense SDK 2.0 is incompatible with the 2016 Windows SDK based around RSSDK, so SDK 2.0 instructions will unfortunately not help you with the older SDK.

​If you wish to use JavaScript web components with the 2016 SDK that the realsense.js library relates to, this is at your own risk due to possible security vulnerabilities in the web component of those old Windows SDKs.

https://www.intel.co.uk/content/www/uk/en/support/articles/000023586/emerging-technologies/intel-realsense-technology.html

Here is the download page where SDK 2016 R3 for F200 and SR300 camera models can be found.

https://software.intel.com/en-us/realsense-sdk-windows-eol?language=en_US

MH000
Beginner
521 Views

Thank you for the response, I will look into each of those links.

 

My confusion stems from the fact that the Intel Realsense documentation for SDK 2.0 reference the realsense.js file, multiple times, including right at the Getting Started > "Setup a Javascript development environment.". These should be the updated docs, correct? Any idea why they reference that file?

 

Again, thanks for your time and help.

0 Kudos
MartyG
Honored Contributor III
521 Views

It looks as though you may be looking at the documentation from the 2016 R2 SDK, which is different from the current SDK 2.0. R2 refers to a version number from 2016.

https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?doc_devguide_javascript_application.html

MH000
Beginner
521 Views

I understand and you're replies have definitely led me in the right direction.

 

Thank you very much.

0 Kudos
Reply