OAK Information
authorAlessandro de Oliveira Faria (A.K.A. CABELO) <cabelo@opensuse.org>
Mon, 12 Sep 2022 03:53:20 +0000 (00:53 -0300)
committerAlexander Smorkalov <alexander.smorkalov@xperience.ai>
Tue, 4 Oct 2022 12:42:31 +0000 (15:42 +0300)
doc/tutorials/gapi/oak_devices/oak_devices.markdown [new file with mode: 0644]
doc/tutorials/gapi/oak_devices/pics/oak.jpg [new file with mode: 0644]
doc/tutorials/gapi/table_of_content_gapi.markdown

diff --git a/doc/tutorials/gapi/oak_devices/oak_devices.markdown b/doc/tutorials/gapi/oak_devices/oak_devices.markdown
new file mode 100644 (file)
index 0000000..4a635fd
--- /dev/null
@@ -0,0 +1,26 @@
+Using DepthAI Hardware /OAK depth sensors {#tutorial_gapi_oak_devices}
+=======================================================================================
+
+@tableofcontents
+
+@prev_tutorial{tutorial_gapi_face_beautification}
+
+![hardwares](pics/oak.jpg)
+
+Depth sensors compatible with Luxonis DepthAI library are supported through OpenCV Graph API (or G-API) module. RGB image and some other formats of output can be retrieved by using familiar interface of G-API module.
+
+In order to use DepthAI sensor with OpenCV you should do the following preliminary steps:
+-#  Install Intel DepthAI library/depthai-core (from here <https://github.com/luxonis/depthai-core>).
+
+-#  Configure OpenCV with DepthAI library support by setting WITH_OAK flag in CMake. If DepthAI library is found in install folders OpenCV will be built with depthai-core  (see a status WITH_OAK in CMake log).
+
+-#  Build OpenCV.
+
+Source code
+-----------
+
+You can find source code how to process heterogeneous graphs in the `modules/gapi/samples/oak_basic_infer.cpp` of the OpenCV source code library.
+
+@add_toggle_cpp
+    @include modules/gapi/samples/oak_basic_infer.cpp
+@end_toggle
diff --git a/doc/tutorials/gapi/oak_devices/pics/oak.jpg b/doc/tutorials/gapi/oak_devices/pics/oak.jpg
new file mode 100644 (file)
index 0000000..9ad30ce
Binary files /dev/null and b/doc/tutorials/gapi/oak_devices/pics/oak.jpg differ
index f9d7b03..1b33172 100644 (file)
@@ -40,3 +40,14 @@ how G-API module can be used for that.
 
     In this tutorial we build a complex hybrid Computer Vision/Deep
     Learning video processing pipeline with G-API.
+
+
+- @subpage tutorial_gapi_oak_devices
+
+    *Languages:* C++
+
+    *Compatibility:* \> OpenCV 4.6
+
+    *Author:* Alessandro de Oliveira Faria (A.K.A. CABELO)
+
+    In this tutorial we showed how to use the Luxonis DepthAI library with G-API.