Is anyone able to explain, why is this React face detection example able to write to filesystem?
https://codesandbox.io/s/opencv-js-face-detection-i1i3u?file=/src/App.jsx:515-516
using
https://github.com/TechStark/opencv-js
Script file cvDataFile.js
calls an OpenCV method, that writes a file on filesystem cv.FS_createDataFile(...)
.
As far as I know, apps runing in browser are not able to do that, or are they?
I'm trying to create something very similar in Angular and failing on this exact line with nothing more in console.log than FS error. So before digging deeper into my bug, why is that code able to do that?