Items with no label
3341 Discussões

Can i get a display coordinate from World coordinate?

松拓也
Novato
2.554 Visualizações

Can i get a display coordinate from World coordinate?

 

I want to know where i am looking at display.

 

(It's not world.image coordinate.)
1 Solução
MartyG
Colaborador honorário III
1.267 Visualizações

Usually people want to convert color (display) to depth (world), so your request is reversed from the norm.

For your needs, an SDK instruction called ProjectCameraToColor may be suitable. "The ProjectCameraToColor function projects an array of world coordinates to the color image coordinates."

https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/projectcameratocolor_pxcprojection.html ProjectCameraToColor

Ver solução na publicação original

6 Respostas
MartyG
Colaborador honorário III
1.268 Visualizações

Usually people want to convert color (display) to depth (world), so your request is reversed from the norm.

For your needs, an SDK instruction called ProjectCameraToColor may be suitable. "The ProjectCameraToColor function projects an array of world coordinates to the color image coordinates."

https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/projectcameratocolor_pxcprojection.html ProjectCameraToColor

松拓也
Novato
1.267 Visualizações

Hi.

Sorry for my late reply.

Many Thanks. I'll try it!

jb455
Contribuidor valorado II
1.267 Visualizações

How are you getting your world coordinates? I get mine from ProjectColourToCamera, which means the nth element in the world coordinates array is the nth pixel in the colour image, so as long as my world coordinates array stays in the same order I know which colour pixel it represents. If you don't currently do any mapping between the colour and depth images, Marty's suggestion might be easiest to implement.

松拓也
Novato
1.267 Visualizações

I get the world coordinate to method below.

https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/doc_face_face_landmark_data.html Face Landmark Data [+JS,UWP]

Once, I'll try Marty's method.

Thank you for your help!

idata
Funcionário
1.267 Visualizações

Hi jazz_up_feeling_0809,

 

 

Keep us updated on your progress. If you have any questions, don't hesitate to ask.

 

 

-Sergio A

 

idata
Funcionário
1.267 Visualizações

Hi jazz_up_feeling_0809,

 

 

Do you still need assistance on this case? Did you find the answer you were looking for?

 

We'll be waiting for your response.

 

 

-Sergio A

 

Responder