Items with no label
3335 Discussions

face module in Realsense 2016 R2/R3 seems not exists.

ewu15
Beginner
1,661 Views

Dear all:

I installed F200 driver, Realsense 2016 R3 SDK essentials,

and 2016 R2 SDK ( https://registrationcenter.intel.com/en/products/download/2508/ https://registrationcenter.intel.com/en/products/download/2508/

but when I compiled the following code, lots of .h not exits, such as:

"pxcfacemodule.h", "pxcfacedata.h", "pxcfaceconfiguration.h".

The code was listed below, (Retrieving Facial Landmarks using Intel RealSense SDK):

-------------------------------------------------------

# include

# include "pxccapturemanager.h"

# include "pxcsensemanager.h"

# include "pxcstatus.h"

# include "pxcfacemodule.h"

# include "pxcfacedata.h"

# include "pxcfaceconfiguration.h"

using namespace std;

int MAX_FACES = 4;

pxcI32 m_numLandmarks;

PXCFaceData::LandmarkPoint* m_landmarkPoints;

static <code class="keyword cpp bold" style="font-weight: bold !important; font-size: 1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0 !important; padd...

5 Replies
MartyG
Honored Contributor III
389 Views

The first question I would ask is if you are compiling in C++ or C# . From looking at the list of includes at the top of the script, it looks like a C++ script, as the C# language does not need includes. So if you are compiling this script in a C# compiler program then it would not work, as it is like putting diesel fuel into the fuel tank of a vehicle that runs on unleaded.

The 'Code-Sample.Zip' example script attached to the Intel article below on face recognition is likely in C# , if C# is indeed what you need, as the author lists knowledge of C# as a requirement in their article.

https://software.intel.com/en-us/articles/code-sample-facial-recognition-using-intel-realsense-sdk RealSense - Code Sample: Facial Recognition Using Intel® RealSense™ SDK | Intel® Software

0 Kudos
ewu15
Beginner
389 Views

Dear MartyG:

1. The code above I listed was compiled with visual studio 2015 in C++ console mode ( for testing).

2. C# sample you pointed is good for me.

I build 'Code-Sample.Zip' . with C# in Visual Studio 2015.

It were built in Debug version sucessfully.

Its output directory contains FaceID.exe FaceID.exe.config FaceID.pdb, FaceID.vshost.exe FaceID.vshost.exe.config

FaceID.vshost.exe.manifest libpxcclr.cs.dll libpxccpp2c.dll.

After running it in debugging mode, it comes with the message:

----------------------------------------------

The program '[6244] FaceID.vshost.exe: Program Trace' has exited with code 0 (0x0).

The program '[6244] FaceID.vshost.exe' has exited with code -1073741795 (0xc000001d) 'Illegal Instruction'.

I felt puzzled about 'Illegal Instruction'.

0 Kudos
MartyG
Honored Contributor III
389 Views

I would recommend only having one RealSense SDK installed at a time to avoid conflict between them (you said in your original message that you had installed R2 and R3).

I also note that you are using a face related function. From R3 onwards, the RealSense SDK was split into a main module (Essentials) and a series of optional modules. Face functions are one of those optional modules that is not inside Essentials. If you have not done so already, I recommend returning to the SDK download page and downloading and installing the 'Face Tracking And Recognition' module that is listed below the Essentials module.

https://software.intel.com/en-us/intel-realsense-sdk/download Intel® RealSense™ SDK | Intel® Software

0 Kudos
jzhan57
Novice
389 Views

Dear MartyG,

I use the 2016R3 sdk to get landmark data, and some .h are lost too, such as

pxcfaceconfiguration.h

PXCFaceData.h

You advice to try the R2, however the link to download R2 is unavailable. And the documentation Intel offred in R3 still use these .h. Could you give me a R2 link, or what shoud i do.

0 Kudos
MartyG
Honored Contributor III
389 Views
0 Kudos
Reply