node-facenet
node-facenet copied to clipboard
jpeg error
Hi zixia: When i recognize jpeg format picture i got: TypeError: Cannot read property 'md5' of undefined and it is ok with jpg format picture. It is my configuration error?
I did not met this error message before. I can have a look for you if you can provide the steps to re produce this error.
After lots of test i found the problem:
1.There are two picture,one is compressed by we chat which can be recognized rightly. the other is the raw picture which is 1.7mb which can not be recognized lol. After compressing the picture by myself it is ok.
2.I found that the system cannot recognize picture which is rotated like
Glad to hear from you that you find out the problem. Cheers!
thanks zixia!i am closing the issue
Would you like to send a PR to help facenet could be able to rotate the jpeg file automatically to prevent this problem?
If so, that would be awesome.
https://github.com/zhangyuanwei/node-images
I use this 3rd part tool for resizing and rotating pictures
I will try to automatically to prevent this problem after final exam lol