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-28 21:35:52 +0200
committerJörg Frings-Fürst <debian@jff.email>2023-06-28 21:35:52 +0200
commitb86540b743f1a87a163ffb811c8fe22a01fefa38 (patch)
treeb47cb3bb83c2377234226fb3987ab3320a987dd9 /subprojects/shotwell-facedetect/org.gnome.ShotwellFaces1.xml
parentac6e0b731b9f0b2efd392e3309a5c07e2a66adad (diff)
parente905d8e16eec152d19797937f13ba3cf4b8f8aca (diff)
Merge branch 'release/debian/0.32.1-1'debian/0.32.1-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>