chaosmail / caffejs

Run Caffe models in the browser using ConvNetJS
https://chaosmail.github.io/caffejs/
MIT License
118 stars 21 forks source link

Remove unnecessary dependencies #5

Open vedrani opened 7 years ago

vedrani commented 7 years ago

CaffeJS enables running caffe models in browser, but any specific browser dependency should be removed. It should only be javascript specific. It would mean removing dependency on canvas and webcamjs. ImgJS could only receive binary array of image, relying on caffeJS-UI library to provide image from webcam and transform it into binary format. What do you think about it?

chaosmail commented 7 years ago

Hi @vedrani yeah that makes a lot of sense. I developed this lib as a proof of concept so it was natural for me to put everything together in one repo. However, seperating these browser dependencies out is the way to go. Best, Christoph