summaryrefslogtreecommitdiff
path: root/subprojects/shotwell-facedetect/org.gnome.ShotwellFaces1.xml
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-06-14 20:35:58 +0200
committerJörg Frings-Fürst <debian@jff.email>2023-06-14 20:35:58 +0200
commitd443a3c2509889533ca812c163056bace396b586 (patch)
treee94ffc0d9c054ca4efb8fb327e18dfac88e15dc7 /subprojects/shotwell-facedetect/org.gnome.ShotwellFaces1.xml
parentbb9797c14470641b082ebf635e2ae3cfd5f27a3b (diff)
New upstream version 0.32.1upstream/0.32.1
Diffstat (limited to 'subprojects/shotwell-facedetect/org.gnome.ShotwellFaces1.xml')
-rw-r--r--subprojects/shotwell-facedetect/org.gnome.ShotwellFaces1.xml42
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>