Re: [Shotwell] Enhance face detection

2018-07-06 Thread Narendra Acharya via shotwell-list
Thanks for the response Jens. I will try this out. On Friday, 6 July, 2018, 2:07:15 PM IST, Jens Georg wrote: Hi, regarding your question on IRC: set_crop is probably not a good idea because it will set the transformation in the database. Rather get the photo, use pb = photo.get_pi

Re: [Shotwell] Enhance face detection

2018-07-06 Thread Jens Georg
Hi, regarding your question on IRC: set_crop is probably not a good idea because it will set the transformation in the database. Rather get the photo, use pb = photo.get_pixbuf_with_options(Scaling.for_original()) with all transformations (scaling, rotation etc.) applied. You can then use

Re: [Shotwell] Enhance face detection

2018-06-28 Thread Narendra Acharya via shotwell-list
I have made the first level changes to migrate from process execution for every detect faces call, to one time execution of facedetect process and then communicate over DBus.https://gitlab.gnome.org/nma83/shotwell/commit/4c84248b80ebf3a1f1eb05aa60625d9d8c5d0134 The DBus interface XML is at:htt

Re: [Shotwell] Enhance face detection

2018-06-26 Thread Jens Georg
Hi, 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 IRC I am best reachable during European business hours ~(9am - 4pm CEST). I was a

Re: [Shotwell] Enhance face detection

2018-06-25 Thread Narendra Acharya via shotwell-list
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 wrote: > I understand the n

Re: [Shotwell] Enhance face detection

2018-06-24 Thread Jens Georg
> 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 'Det

Re: [Shotwell] Enhance face detection

2018-06-23 Thread Narendra Acharya via shotwell-list
Hi Jens, 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 'De

Re: [Shotwell] Enhance face detection

2018-06-23 Thread Jens Georg
On Fri, 2018-06-22 at 10:48 -0300, Ricardo via shotwell-list wrote: > Hello. > In https://valadoc.org/opencv/index.htm there is a vapi to link > direct > from vala to opencv without c/c++ in the middle. Some considerations: > First, it use OpenCV 2 which cannot detect automatically the presence > o

Re: [Shotwell] Enhance face detection

2018-06-23 Thread Jens Georg
On Fri, 2018-06-22 at 08:08 +, Narendra Acharya via shotwell-list wrote: > Hi, > > I was looking at the current face detection code in shotwell 0.29.2 > and feel that it can be enhanced. > So I pulled the code from https://gitlab.gnome.org/GNOME/shotwell.git > and started making some changes.

Re: [Shotwell] Enhance face detection

2018-06-22 Thread Narendra Acharya via shotwell-list
Hi Ricardo, There are problems with the OpenCV VAPI that I discovered while trying to integrate OpenCV directly.OpenCV is not C compatible anymore in the recent 3.x versions (https://github.com/opencv/opencv/issues/10963). So I had to create another VAPI bridge that took in plain C structures an

Re: [Shotwell] Enhance face detection

2018-06-22 Thread Ricardo via shotwell-list
Hello. In https://valadoc.org/opencv/index.htm there is a vapi to link direct from vala to opencv without c/c++ in the middle. Some considerations: First, it use OpenCV 2 which cannot detect automatically the presence of a graphic card capable to use OpenCL. Second, in the last stable Debian the Op