diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-06-14 20:36:37 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-06-14 20:36:37 +0200 |
commit | bb80d3feebdc9acc52e3f4ad24084d8425f043a2 (patch) | |
tree | 2084a84c39f159c6aea254775dc0880d52579d45 /subprojects/shotwell-facedetect/org.gnome.ShotwellFaces1.xml | |
parent | b26ff0798252a1a8072dd2c7a67f6205de9fde11 (diff) | |
parent | 31804433d72460cbe0a39f9f8ea5e76058d84cda (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'subprojects/shotwell-facedetect/org.gnome.ShotwellFaces1.xml')
-rw-r--r-- | subprojects/shotwell-facedetect/org.gnome.ShotwellFaces1.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/subprojects/shotwell-facedetect/org.gnome.ShotwellFaces1.xml b/subprojects/shotwell-facedetect/org.gnome.ShotwellFaces1.xml new file mode 100644 index 0000000..3bf1071 --- /dev/null +++ b/subprojects/shotwell-facedetect/org.gnome.ShotwellFaces1.xml @@ -0,0 +1,42 @@ +<!DOCTYPE node PUBLIC +'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN' +'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'> +<node> + <!-- + org.gnome.Shotwell.Faces1: + @short_description: Face detection/recognition + --> + <interface name="org.gnome.Shotwell.Faces1"> + <!-- + DetectFaces + @image: Image file to run face detection on + @cascade: Cascade XML file - unused + @scale: Scaling to apply on image + @infer: Provide an + Returns an array of face bounding boxes (x,y,w,h) in dimensionless units + --> + <method name="DetectFaces"> + <arg type="s" name="image" direction="in" /> + <arg type="s" name="cascade" direction="in" /> + <arg type="d" name="scale" direction="in" /> + <arg type="b" name="infer" direction="in" /> + <arg type="a(ddddad)" name="faces" direction="out" /> + </method> + + <!-- + LoadNet + @net: path to folder containing the DNN + Returns non-zero on any error + --> + <method name="LoadNet"> + <arg type="s" name="net" direction="in" /> + <arg type="b" name="ret" direction="out" /> + </method> + + <!-- + Terminate + --> + <method name="Terminate"> + </method> + </interface> +</node> |