face-api.js icon indicating copy to clipboard operation
face-api.js copied to clipboard

Error implementing 'monkeyPatch' on ionic project

Open brianlee1025 opened this issue 4 years ago • 3 comments

I tried to use this solution to load models but this error occured. Screenshot from 2020-03-18 01-32-33 How to solve this?

brianlee1025 avatar Mar 17 '20 17:03 brianlee1025

could you solve it?

mcarrenog avatar Jan 29 '21 20:01 mcarrenog

You could try to cast it to Buffer with the from() method of the type, like Buffer.from(new Uint8Array(arrayBuffer)), although I haven't tested it myself. I was trying to use this solution too but found this other one https://github.com/justadudewhohacks/face-api.js/issues/404#issuecomment-529044601 that solved my problem.

MarcioJrios avatar Oct 05 '21 17:10 MarcioJrios

image Alguie le ha funcionad la ligreria face-api.js en ionic 6. me da este error

lvallejo85 avatar Aug 04 '22 17:08 lvallejo85