Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plane Fitting Problem with Depth Data on Stairs #2

Open
jungilha opened this issue Jan 8, 2024 · 4 comments
Open

Plane Fitting Problem with Depth Data on Stairs #2

jungilha opened this issue Jan 8, 2024 · 4 comments

Comments

@jungilha
Copy link

jungilha commented Jan 8, 2024

Problem with Depth Data on Stairs
When capturing images of stairs using the Strayscanner app, I have observed that when the depth distance exceeds approximately 2.5 meters, the stairs' contours do not appear in the depth data; instead, they are represented as a flat plane. It seems like plane fitting might be occurring during the fusion stage, as discussed in this Apple Developer Forum thread: link.
Visualizations Attached for Clarity
To better illustrate the issue, I have attached visualizations that utilize RGB, depth, and ARKit data obtained with the strayscanner app. In these visualizations, you can see a 3D reconstruction (with magenta color indicating ARKit position information). When observed from a side view, it becomes apparent that as the depth increases, the stairs appear to become closer to the flat plane.
This issue is problematic for my ongoing Pose Estimation project, as the depth data provided by strayscanner is not usable in this situation.
Request for Lidar Raw Data Access Option
I noticed that starting from iOS 15.4, it is possible to access raw data from the LiDAR sensor, as outlined in this Apple documentation: link. Therefore, I kindly request the addition of an option that allows users to acquire raw data from the LiDAR sensor, which would greatly improve the utility of the strayscanner app for a variety of applications, including projects like mine.
Thank you for your attention to this matter.

rgd_video.mp4
reconstruction.mp4
@jungilha jungilha changed the title Plane fitting problem with Depth Data on Stairs Plane Fitting Problem with Depth Data on Stairs Jan 8, 2024
@kekeblom
Copy link
Collaborator

kekeblom commented Jan 8, 2024

Great catch @jungilha. I haven't looked into the filtering option. As you mention, it wasn't available when I first developed the app. Indeed would be good to add a switch for this or even just have it always disabled, should the output be usable. The general philosophy of the app is anyway to allow the fastest access to raw data for development purposes. I would assume most users would always use the raw option.

If you beat me to it, feel free to submit a pull request for disabling this option. Would be most welcome.

@jungilha
Copy link
Author

jungilha commented Jan 9, 2024

Thank you for the quick response! @kekeblom.
I haven't had any experience with writing Swift code, so I'm not very familiar with it. Adding the option you mentioned would be greatly appreciated as it would be helpful for me.
Thank you!

@jungilha
Copy link
Author

Hello @kekeblom. I'm reaching out to see if there has been any progress on this issue.
Thanks again.

@kekeblom
Copy link
Collaborator

Unfortunately, no progress on this. Contributions are welcome. Hope you can find a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants