question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question regarding viewer_point_cloud.py

See original GitHub issue

Hi I was looking at the viewer_point_cloud.py script is there a reason you use :

while True:
    capture = k4a.get_capture()
    if np.any(capture.depth) and np.any(capture.color):
        break

instead of just : capture = k4a.get_capture() It seems you want to make sure the depth and color cameras are both synchronized but I think I read they are synchronized via the hardware ?

also is there a reason for having two while loops ?

thank you

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
kfarivarcommented, Oct 14, 2020

I think I have to send the calibration to color_image_to_depth_camera ? and it is a private variable of capture I think.

0reactions
lpasselincommented, Oct 15, 2020

No.

In the point cloud example, directly replace the following:

Replace depth_point_cloud with transformed_depth_point_cloud

Replace color with segmentation mask.

On Thu., Oct. 15, 2020, 03:56 KiyarashFarivar, notifications@github.com wrote:

Ok so after the pull request I can just set my mask as capture.color and then call capture.transformed_color ?

and estimation when the PR will get merged ?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/etiennedub/pyk4a/issues/71#issuecomment-708971591, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTB77CWYBF2ZFSQPTHJ3J3SK2TJBANCNFSM4SQW5NOQ .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Different 3D-Coordinates between RealSense Viewer Point ...
Dear Community, I have a strange problem. I need the position of points in 3D. So I use rs2_deproject_pixel_to_point(intr, [x, y], dist).
Read more >
3D point cloud visualization is different - python - Stack Overflow
I'm trying to do some post processing on a point cloud, When I try to plot the point cloud using Axis3D I get...
Read more >
Show Posts - ppant - Agisoft Metashape
The works when using the GUI version. ... I am trying to work on the python script to mosaic 10 band camera. but...
Read more >
TDA2SX: I have some questions about yocto compilation
4, but there are several errors, it seems These git URLs can't be opened, how can I solve them if I want to...
Read more >
How You Can Improve Your Next Facility Construction Project
Designing, surveying, and implementing facility construction changes comes with challenges. This blog shows how 3D scanning and JPIV can ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found