Open glyh opened 1 month ago
环境:
这个库内部是libfacedetect,可以请你构建一下这个项目里的样例吗?
$ ldd libfacedetection.so
linux-vdso.so.1 (0x00007daab4bff000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007daab4800000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007daab4a8e000)
libgomp-a34b3233.so.1.0.0 => /home/lyh/.cache/pypoetry/virtualenvs/javsp-6wPrERix-py3.12/lib/python3.12/site-packages/slimeface/./../slimeface.libs/libgomp-a34b3233.so.1.0.0 (0x00007daab4200000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007daab47d2000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007daab4a89000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007daab45e1000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00007daab4c01000)
$ ldd slimeface.cpython-312-x86_64-linux-gnu.so
linux-vdso.so.1 (0x0000721af1c52000)
libfacedetection.so.v0.0.3 => /home/lyh/.cache/pypoetry/virtualenvs/javsp-6wPrERix-py3.12/lib/python3.12/site-packages/slimeface/./libfacedetection.so.v0.0.3 (0x0000721af1bc9000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0000721af1800000)
libm.so.6 => /usr/lib/libm.so.6 (0x0000721af1aac000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x0000721af17d2000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x0000721af1aa7000)
libc.so.6 => /usr/lib/libc.so.6 (0x0000721af15e1000)
libgomp-a34b3233.so.1.0.0 => /home/lyh/.cache/pypoetry/virtualenvs/javsp-6wPrERix-py3.12/lib/python3.12/site-packages/slimeface/./../slimeface.libs/libgomp-a34b3233.so.1.0.0 (0x0000721af1000000)
/usr/lib64/ld-linux-x86-64.so.2 (0x0000721af1c54000)
86c4c9f 现在应该只要不使用人脸识别就不会报错了
你可以整个虚拟机试试,编译这玩意有点超出我能力范围啦。
可以麻烦看下master会不会报错吗
可以麻烦看下master会不会报错吗
好了,可以运行了。
顺便,我刚刚触发了下docker workflow: https://github.com/Yuukiy/JavSP/actions/runs/11067122398
如果有需求的话可以用docker镜像: https://github.com/Yuukiy?tab=packages&repo_name=JavSP
确认问题在:./javsp/cropper/slimeface_crop.py:5
from slimeface import detectRGB
Originally posted by @qicfan in https://github.com/Yuukiy/JavSP/issues/383#issuecomment-2378505486