Closed kalwalt closed 2 years ago
consider the matrix_t_example https://github.com/kalwalt/webarkit-jsfeat-cpp/blob/6104fdf14fae613a65e092a8344371c13a9dc3a1/examples/matrix_t_test.html#L13-L16 data_u8 as data argument to be loaded, the result should be identical in m_u8.data, but instead we receive a wrong Uint8Array with length 0 and ArrayBuffer of size 268435456 (or similar). This not happens instead in the grayscale_example https://github.com/kalwalt/webarkit-jsfeat-cpp/blob/6104fdf14fae613a65e092a8344371c13a9dc3a1/examples/grayscale_example.html#L33-L34 values are in the right range.
solved with https://github.com/kalwalt/webarkit-jsfeat-cpp/commit/de803e8e7ea39c3f8f47a17e7991ffe7379584e2
consider the matrix_t_example https://github.com/kalwalt/webarkit-jsfeat-cpp/blob/6104fdf14fae613a65e092a8344371c13a9dc3a1/examples/matrix_t_test.html#L13-L16 data_u8 as data argument to be loaded, the result should be identical in m_u8.data, but instead we receive a wrong Uint8Array with length 0 and ArrayBuffer of size 268435456 (or similar). This not happens instead in the grayscale_example https://github.com/kalwalt/webarkit-jsfeat-cpp/blob/6104fdf14fae613a65e092a8344371c13a9dc3a1/examples/grayscale_example.html#L33-L34 values are in the right range.