mpottinger / pymetal

Run metal compute shaders for GPGPU compute in Python on MacOS via PyObjc.
5 stars 0 forks source link

about how iPhone streaming to M1 Mac #1

Open yinloonga opened 2 years ago

yinloonga commented 2 years ago

By comparing the position of the tracked feature differences between video frames, and then comparing with the motion sensor data, a high-precision position and motion model is obtained. (Apple Developer Official website)

mpottinger commented 1 year ago

Hello, sorry I did not see this earlier. I will follow up when I have time. Yes the ARKit tracking is pretty good and more than enough for many uses. I wrote a small lightweight app for iOS which serializes the necessary data to create a point cloud as JSON, along with the depth and color frames in binary, after that the integration with vbdfusion was almost trivial since point cloud and camera position are all it needs.

yinloonga commented 1 year ago
mpottinger commented 1 year ago
  • Thanks very much for your reply. I've downloaded an app from the App Store for 3D reconstruction (iOS device with lidar), and it's amazing. Obviously, you have more experience on ARKit.
  • In SLAM, point cloud in 3D space is obtained through sensors (just like lidar, camera, etc). But it is a novel method to

    serialize the necessary data by using iPhone to create a point cloud as JSON, along with the depth and color frames in binary.

  • Therefore, I would like to know if you have any plans to open source this part of the code, and roughly when. To be honest, I am currently working on a project, and I hope to use this as a test part(non-commercial use).
  • Would appreciate it if you could. I wish you have a happy life.

I am carefully considering whether or not I will release the code or what parts I may release. I suppose the streaming code is not too complex, though yes it does require some experience with the AR SDK's like ARKit, ARCore, etc. The project I'm working on is for my workplace and may end up being a commercial project, so I have to consider what I'll be releasing. Definitely I am open to giving any assistance and I will let you know.

yinloonga commented 1 year ago

OK, thanks. I will keep following up. And if there is any latest progress, please notify in time. This is my Gmail: yinlonga@gmail.com