Closed felschr closed 2 years ago
Additionally, I found that ptr()
also returns a Uint8Array
among the following opencv.js tests:
https://github.com/opencv/opencv/blob/c8228e5789510ec26378eceb17311dd7bddf0b33/modules/js/test/test_mat.js#L383-L386
The opencv.js documentation mentions the types for
data
,ucharPtr()
, etc: https://docs.opencv.org/3.4/de/d06/tutorial_js_basic_ops.htmlThis change also adds the missing
data8S
property.