Skip to content

Instantly share code, notes, and snippets.

@BigEpsilon
Created October 25, 2017 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BigEpsilon/3a07021a66175d50d0adf7d918fdeb21 to your computer and use it in GitHub Desktop.
Save BigEpsilon/3a07021a66175d50d0adf7d918fdeb21 to your computer and use it in GitHub Desktop.
type
Mat* {.importcpp: "cv::Mat", header: cv_core_path, bycopy.} = object
flags* {.importc: "flags".}: cint
dims* {.importc: "dims".}: cint
rows* {.importc: "rows".}: cint
cols* {.importc: "cols".}: cint
data* {.importc: "data".}: ptr cuchar
datastart* {.importc: "datastart".}: ptr cuchar
dataend* {.importc: "dataend".}: ptr cuchar
datalimit* {.importc: "datalimit".}: ptr cuchar
allocator* {.importc: "allocator".}: ptr MatAllocator
u* {.importc: "u".}: ptr UMatData
size* {.importc: "size".}: MatSize
step* {.importc: "step".}: MatStep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment