auduno / clmtrackr

Javascript library for precise tracking of facial features via Constrained Local Models
MIT License
6.51k stars 1.16k forks source link

ERR_SSL_PROTOCOL_ERROR #170

Open NathanSepulveda opened 5 years ago

NathanSepulveda commented 5 years ago

I believe I've cloned the repository correctly and installed the node packages correctly, but am receiving a ERR_SSL_PROTOCOL_ERROR when trying to run the examples in Chrome using http-server. I've looked up all the ways to resolve this, but haven't found anything that works. Has this been an issue for others?

laurent-kouassi commented 5 years ago

Hi @NathanSepulveda , I am currently struggling to make it work too. My problem is that

track.getCurrentPosition() is always false. I dont actually know if it is cause by a canvas with the video size or not.

I am try to size them but still track.getCurrentPosition() keep being false .

Have you passed that stage? Thanks

zobrathemanish commented 5 years ago

find out this line in clm_emotiondetection.html : else if (window.location.hostname !== "localhost" && window.location.protocol !== "https:"){ window.location.protocol = "https"; and replace with: else if (window.location.hostname !== "localhost" && window.location.protocol !== "http:"){ window.location.protocol = "http";