Skip to content

Commit

Permalink
remove designated initialisers
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Jan 19, 2024
1 parent 9f9b127 commit 794a04c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions example/opencv_demo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,7 @@ int main(int argc, char *argv[])
cvtColor(frame, gray, COLOR_BGR2GRAY);

// Make an image_u8_t header for the Mat data
image_u8_t im = { .width = gray.cols,
.height = gray.rows,
.stride = gray.cols,
.buf = gray.data
};
image_u8_t im = {gray.cols, gray.rows, gray.cols, gray.data};

zarray_t *detections = apriltag_detector_detect(td, &im);

Expand Down

0 comments on commit 794a04c

Please sign in to comment.