facerecognition
facerecognition copied to clipboard
Offer to help: aarch64 Ubuntu 20.04 packages od dlib and pdlib
I've successfully compiled dlib
and pdlib
on RPi4 running Ubuntu 20.04.
I've created corresponding .deb
files using checkinstall
.
Would you be interested in expanding your Ubuntu 20.04 repo to include aarch64 packages?
I'm not experienced using checkinstall, though, I'd need some help to guide me how to prepare the packages correctly and to standard.
Hi @elpraga I don't have a raspberry pi to do the packages, and the cross compilation is quite annoying .. :sweat_smile: I build the packages with pbuilder but If you can do something functional I have no problem publishing your packages, even if they are not official.. :wink:
Ok, I'll try to do so then.
Could you tell me if there are some dependencies I should add into them packages? As I compiled them, all dependencies are installed already, so I have no clue if something is missing other systems.
I looked at pbuilder, I think I'll stick with checinstall 😄😄
Also, do you know how to add
[pdlib]
extension="pdlib.so"
to php.ini
automatically when installing the package?
So you have a working instance of face recognition on your pi running? Can you post an instruction on how to run it?
@nilsacht I brought it "to life" on a RockPi4 (RK3399, aarch64). It's an Armbian System without GUI.
In priniciple, follow the Hard Way installation. There was a compile error, dlib complaining there is no GUI available:
- open the file ~/dlib/dlib/config.h.in
- comment out
#cmakedefine DLIB_NO_GUI_SUPPORT
- Restart compilation
All the other steps worked as expected (@matiasdelellis A big THX!). I changed PHP module inclusion a little bit (more Debian style):
- Create a file
pdlib.ini
in /etc/php/7.3/mods-available/ - Activate the module via
phpenmod pdlib
Hello @nilsacht ! I'm sorry for such a late response about my RPi setup. I've been rather busy lately, and I forgot.
I actually did not have to make any changes whatsoever to nake it work on my RPi4. Following the hard way walked me through without a glitch.(I didn't have to edit anyconfig.h.in
files.
I hope it helps!