Skip to content

Commit 516b8f4

Browse files
committed
note on on to be removed datatypes:: namespace resolution
1 parent 283fed5 commit 516b8f4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/collection_adapters.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ struct rerun::CollectionAdapter<uint8_t, cv::Mat> {
5858
};
5959

6060
// Adapter for extracting tensor dimensions from an OpenCV matrix.
61+
// TODO(https://github.com/rerun-io/rerun/pull/4331): remove `datatypes::`
6162
template <>
6263
struct rerun::CollectionAdapter<rerun::datatypes::TensorDimension, cv::Mat> {
6364
Collection<rerun::datatypes::TensorDimension> operator()(const cv::Mat& img) {

src/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ int main() {
6565
}
6666

6767
// Log image to Rerun
68+
// TODO(https://github.com/rerun-io/rerun/pull/4331): remove `datatypes::`
6869
cv::cvtColor(img, img, cv::COLOR_BGR2RGB); // Rerun expects RGB format
6970
rec.log("image", rerun::Image(img, rerun::datatypes::TensorBuffer::u8(img)));
7071

0 commit comments

Comments
 (0)