feat: add rgbd representation of 3d mesh#753
Conversation
Codecov ReportBase: 88.13% // Head: 87.90% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #753 +/- ##
==========================================
- Coverage 88.13% 87.90% -0.23%
==========================================
Files 133 133
Lines 6703 6741 +38
==========================================
+ Hits 5908 5926 +18
- Misses 795 815 +20
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
f33d39b to
4e83370
Compare
4e83370 to
eca47f6
Compare
eca47f6 to
783f31e
Compare
783f31e to
9b564e7
Compare
Co-authored-by: Alex Cureton-Griffiths <[email protected]> Signed-off-by: anna-charlotte <[email protected]>
Co-authored-by: Alex Cureton-Griffiths <[email protected]> Signed-off-by: anna-charlotte <[email protected]>
Signed-off-by: anna-charlotte <[email protected]>
1c76b10 to
7b609fc
Compare
|
📝 Docs are deployed on https://ft-feat-add-rgbd-representation-751--jina-docs.netlify.app 🎉 |
1 similar comment
|
📝 Docs are deployed on https://ft-feat-add-rgbd-representation-751--jina-docs.netlify.app 🎉 |
Signed-off-by: anna-charlotte <[email protected]>
|
📝 Docs are deployed on https://ft-feat-add-rgbd-representation-751--jina-docs.netlify.app 🎉 |
Signed-off-by: anna-charlotte <[email protected]>
f6b9bc8 to
7da86f2
Compare
|
📝 Docs are deployed on https://ft-feat-add-rgbd-representation-751--jina-docs.netlify.app 🎉 |
Goals:
A common input format of 3d data for machine learning model are RGBD images due to the fixed size ndarray representation. RGB-D images are usually stored in 2 separate image files, the first one stores the RGB values (shape=(n, m, 3)), the second one stores a depth value for each pixel of the RGB image (shape=(n, m, 1)). Those two ndarray can be concatenated to one ndarray of shape=(n, m, 4).
Representation in DocArray:
Save the two file paths in the
.uriattribute of a Documents.chunksLoad the 2 files into 1 tensor and store the tensor of shape=(n, m, 4) in the Document's top level
.tensorattribute.load chunks uris to top level rgbd image tensor
add
.display()function for rgbd image tensorcheck and update documentation, if required. See guide