Since my last contribution to Shotwell in September, I've been seeing some interest about compiling Shotwell with Face Recognition and some variants of that same goal.
Well, first of all, let me say that I'm really sorry about the fact that I've stopped contributing to the project in a regular basis —having to work and study makes it difficult, I'm sure most of you know the feeling.
Anyway, I've got a little free time and I've decided to try to compile Shotwell in a freshly installed Ubuntu 12.10 system with Faces tool. But, first of all, let me say that this tool is in a development status, so it is incomplete —e.g. there is no face recognition feature yet, only face detection— and could be not so stable. You can and should make a copy of your Shotwell database just in case running this version of Shotwell hurts it. You have the instructions to do so at .
To compile Shotwell:
- Install Git: $ sudo apt-get install git
- Install Shotwell dependencies:
- Available in Ubuntu 12.10: $ sudo apt-get install libgconf2-dev libgee-dev libgexiv2-dev libglib2.0-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libgtk-3-dev libgudev-1.0-dev libexif-dev libgphoto2-2-dev libraw-dev librest-dev libsoup2.4-dev libxml2-dev libsqlite3-dev m4 libunique-3.0-dev libwebkitgtk-3.0-dev valac-0.18 libjson-glib-dev libopencv-dev
- GStreamer 1.0:
- Add the GStreamer developers' PPA to your system: $ sudo add-apt-repository ppa:gstreamer-developers/ppa
- Update your packages database: $ sudo apt-get update
- Install needed GStreamer packages: $ sudo apt-get install libgstreamer1.0-dev gir1.2-gstreamer-1.0 libgstreamer1.0-0 libgstreamer-plugins-base1.0-dev
- Clone Shotwell repository —this will create a «shotwell» folder in your current working directory: $ git clone git://yorba.org/shotwell/ ./shotwell
- Go to that folder: $ cd ./shotwell
- Switch to «faces» branch: $ git checkout faces
- Configure enabling faces tool: $ ./configure --enable-faces
- Make: $ make
- And now you can run it:
- To use a new, separate database: $ ./shotwell -d ./shotwell-data
- To use your installed Shotwell's database —not recommended if you doesn't want to install the Git non-stable version: $ ./shotwell
- And install it into your system —optional, not recommended since it's a development version: $ sudo make install
Tags: [en], Google Summer of Code, Shotwell, Planet GNOME