Items with no label
3335 Discussions

Where is rsutil.hpp,

mchip3
Novice
2,965 Views

I just install realsense 2.0 but the turorial say that I need include "rsutil.hpp" but in my local instal does not exist, only rs.hpp, so how can I make the sample?

17 Replies
idata
Employee
1,969 Views

Hello mchip,

 

 

I will move this discussion to the Intel® RealSense™ Community.

 

 

Regards,

 

Fred D.
0 Kudos
MartyG
Honored Contributor III
1,969 Views

Someone else asked a week ago on the Librealsense forum where rsutils.hpp was. One of the Librealsense leaders, dorodnic, replied: "We will update the OpenCV instructions shortly. Please take a look at other C++ tutorials until OpenCV example is back to normal."

https://github.com/IntelRealSense/librealsense/tree/master/examples librealsense/examples at master · IntelRealSense/librealsense · GitHub

0 Kudos
mchip3
Novice
1,969 Views

So, How Can I make a good developer if I can't use any, library, the realsense is a awfull device. Nothing works here.

0 Kudos
MartyG
Honored Contributor III
1,969 Views

The ReslSense SDK 2.0 is a very new product in an early stage of development, and is going through frequent changes. You may find it better to use the original Librealsense, or the Windows RealSense SDK, as the documentation for these are stable and reliable.

0 Kudos
mchip3
Novice
1,969 Views

My development requirement is linux, I tried many times with realsense 1, and somebody recommend me use real sense 2 now this not works yet, is frustrating

0 Kudos
MartyG
Honored Contributor III
1,969 Views

SDK 2.0 is actually an advanced version of Librealsense. So if you start with Librealsense in Linux now, your knowledge will easily transfer to SDK 2.0 when it is mature. You can download the legacy version of Librealsense for Linux here:

https://github.com/IntelRealSense/librealsense/tree/v1.12.1 GitHub - IntelRealSense/librealsense at v1.12.1

0 Kudos
mchip3
Novice
1,969 Views

Again, back to realsense. that not works too.

0 Kudos
MartyG
Honored Contributor III
1,969 Views

Librealsense is Linux. It should work fine in Linux with your RealSense camera. Here are the Linux install instructions.

https://github.com/IntelRealSense/librealsense/blob/v1.12.1/doc/installation.md librealsense/installation.md at v1.12.1 · IntelRealSense/librealsense · GitHub

0 Kudos
mchip3
Novice
1,969 Views

But if not work with opencv.. I needed the framework of Intel for re-use the functions and algortihms, and when you compile and install, all samples code use PXCSENSEMANAGAER that not exist for this project, so your realsense github project only works as open a simple webcam!!!, is anoying.

0 Kudos
MartyG
Honored Contributor III
1,969 Views

Librealsense works very well with OpenCV. But it is true that Librealsense has a different language from the Windows SDK. You just need to find Librealsense samples that do what your project needs. Librealsense comes with some samples for it, and you can find other compatible scripts on the Librealsense help forum website.

You can search for Librealsense help by going to the site below and typing a question into the 'search' box at the top of the page.

https://github.com/IntelRealSense/librealsense GitHub - IntelRealSense/librealsense: Intel® RealSense™ SDK

Another way to look through other people's questions on that page is to click the 'issues' link that is near the top of the page beneath the 'IntelRealSense / Librealsense' title.

0 Kudos
mchip3
Novice
1,969 Views

I don't know if you work for intel!, sorry you only want to help me, but there is not any sample for linux for face track or object tract that don't has opencv.

0 Kudos
MartyG
Honored Contributor III
1,969 Views

I do not work for Intel, no.

The RealSense SDK for Linux SDK has a lot more features, including object tracking. It is designed for the RealSense ZR300 camera model though.

https://software.intel.com/sites/products/realsense/sdk/getting_started.html Intel® RealSense™ SDK for Linux: Getting Started

0 Kudos
mchip3
Novice
1,969 Views

OK, I just compile my own driver, now Works on linux but some issues, Now, Exist on librealsense2 some class, funcion or procedure for build face point recognition with track of orientation face position, ???

0 Kudos
MartyG
Honored Contributor III
1,969 Views

For face tracking on Linux with your RealSense camera, you will need to install OpenCV. A lot of people have done it, and there are text articles and YouTube videos about it. The best way to research it is to google for 'opencv face tracking'.

Here is an example of someone who was able to obtain face landmarks using OpenCV.

https://www.learnopencv.com/facial-landmark-detection/ Facial Landmark Detection | Learn OpenCV

0 Kudos
mchip3
Novice
1,969 Views

Thank you, but again, opencv not works on realsense2

0 Kudos
MartyG
Honored Contributor III
1,969 Views

As dorodnic from the Librealsense team said, they are working on getting OpenCV working properly again in SDK 2,0. Until then, there is probably nothing you can do to program a face tracking feature in SDK 2.0 til the new OpenCV instructions are released. I'm very sorry.

0 Kudos
MartyG
Honored Contributor III
1,969 Views

The instructions have now been updated to replace rsutil.hpp with a new include instruction in the OpenCV samples.

https://github.com/IntelRealSense/librealsense/blob/development/doc/stepbystep/getting_started_with_openCV.md librealsense/getting_started_with_openCV.md at development · IntelRealSense/librealsense · GitHub

I cannot find the folder that the new instruction refers to yet though (opencv2) so it may be in the next release of SDK 2.0. At least they are getting the problem solved.

0 Kudos
Reply