Hi,
I’m actually trying to do the same thing but I just need image and getting this error
Argument of type 'Uint8Array' is not assignable to parameter of type 'number[]'.
Type 'Uint8Array' is missing the following properties from type 'number[]': pop, push, concat, shift, and 5 more.ts(2345)