sudo apt-get remove –auto-remove python2.7
分类:python
pycharm关掉该死的下划波浪线
加密你的python代码
http://pyarmor.dashingsoft.com/index-zh.html#quick-start
我可觉得海星~直接把代码加密到祖坟上,不过最好写一个处理脚本,运行之后可以自动替代之前的正常程序。
50个有趣的python程序
使用python进行人脸对比
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import face_recognition first_image = face_recognition.load_image_file("mine.jpg") second_image = face_recognition.load_image_file("sec.jpg") first_encoding = face_recognition.face_encodings(first_image)[0] second_encoding = face_recognition.face_encodings(second_image)[0] results = face_recognition.compare_faces([first_encoding, first_encoding,first_encoding], second_encoding) print(results) |