Re: [Shotwell] Enhance face detection



OK great. I will post an update here once I have the current functionality working over D-bus and a facedetect background process. Hope I can use the IRC channel for any other minor questions I may have.

On Sunday, 24 June, 2018, 3:59:20 PM IST, Jens Georg <mail jensge org> wrote:



> I understand the need for keeping OpenCV code in a separate process.
> Even so, I think we should consider starting this process as a
> 'daemon' when starting shotwell (controlled by an option) and
> communicate with it over RPC from the shotwell process instead of
> executing it for every 'Detect faces' button press. I will start
> looking at adding an RPC layer from today.

Excellent! Please use D-Bus, that should be the easiest and is nicely
supported in Vala. I would suggest a private D-Bus, not going on
system/user/session Bus. (A small example is at https://gitlab.gnome.or
g/GNOME/glib/blob/master/gio/tests/gdbus-example-peer.c ) but session
Bus should work as well.

> That said, do we expect OpenCV to link to a different GTK version in
> the long term?

The OpenCV 3.4 I use in the flatpak is still looking for GTK2, so
there's always potential that someone will enable that combination :-/


>
> Once the RPC is done, will try to integrate the latest from the
> Sanva/facedetect repo and hope to get some basic face recognition
> capability.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]