luxonis / depthai-experiments

Experimental projects we've done with DepthAI.
MIT License
809 stars 362 forks source link

Z-accuracy and spatial noise #415

Closed njezersek closed 1 year ago

njezersek commented 1 year ago

Proof of concept for testing z-accuracy and spatial noise.

saching13 commented 1 year ago

@njezersek can you remove binary files and json files. Add them to .gitignore in the sub folder

alex-luxonis commented 1 year ago

To not introduce the binary files into the repo history (that would increase its size), rewrite the branch history to remove the file additions, or, easier, use 'squash' when merging: image

saching13 commented 1 year ago

@njezersek Can you make a small video of usage and share it here ?

saching13 commented 1 year ago

I haven't checked the math logic yet. Will do it after the following updates. In addition to above comments, it looks like you are testing two devices individually.

What we need to do is modify it to use the results from other device as ground truth.

  1. Create the Base truth Wall to adjust the angle of the devices.
  2. Create the Ground Turth Plane using the secondary device.
  3. Use that ground Truth to estimate the Z-accuracy.
  4. Fill rate, Plane FIT RMSE and Sub-Pixel RMSE stays same since they are Spatial Noise Estimators.
njezersek commented 1 year ago

Here is a screen recording demonstrating the usage (I had some problems with the screen recorder, so I recorded the screen with my phone)

Steps taken:

https://user-images.githubusercontent.com/10494687/202206342-58c7b864-ae3b-4a47-a0d7-d81f4511385e.mp4

saching13 commented 1 year ago
  • Set ground truth from the Astra cam measurement (g key)

is this done using avg of the region selected ?

And using the astra pro as GT is optional right ?