hassan526 commited on
Commit
e2c8183
·
verified ·
1 Parent(s): 33c8911

Upload 12 files

Browse files
.gitattributes CHANGED
@@ -44,3 +44,11 @@ examples/2_b.png filter=lfs diff=lfs merge=lfs -text
44
  examples/2_f.png filter=lfs diff=lfs merge=lfs -text
45
  examples/4.png filter=lfs diff=lfs merge=lfs -text
46
 
 
 
 
 
 
 
 
 
 
44
  examples/2_f.png filter=lfs diff=lfs merge=lfs -text
45
  examples/4.png filter=lfs diff=lfs merge=lfs -text
46
 
47
+ dependency/libDocSdk.so filter=lfs diff=lfs merge=lfs -text
48
+ dependency/libopenvino_intel_cpu_plugin.so filter=lfs diff=lfs merge=lfs -text
49
+ dependency/libopenvino_ir_frontend.so.2330 filter=lfs diff=lfs merge=lfs -text
50
+ dependency/libopenvino_onnx_frontend.so.2300 filter=lfs diff=lfs merge=lfs -text
51
+ dependency/libopenvino.so.2300 filter=lfs diff=lfs merge=lfs -text
52
+ dependency/libopenvino.so.2330 filter=lfs diff=lfs merge=lfs -text
53
+ dependency/libtbb.so.12 filter=lfs diff=lfs merge=lfs -text
54
+ engine/lib/libidlivesdk.so filter=lfs diff=lfs merge=lfs -text
dependency/libDocSdk.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e4fb0d2e876a1ef5d30ba988ac09d295ce9a38572479ae6dce6cf0c3f2ecb01
3
+ size 22300226
dependency/libopenvino.so.2300 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42d0084280661a5138d9b2cbfba28c6d0df9e85c9d371b96d471b1e3b403e9cd
3
+ size 21726552
dependency/libopenvino.so.2330 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3be612fe4606381cfddf1198b3ab1a851c0fdbd8490ddb101577f82b1678ce78
3
+ size 22302048
dependency/libopenvino_intel_cpu_plugin.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1de80e57d72249ab45de0f0ab807f729a86360248ca4f4d23c203882e7736f21
3
+ size 45820616
dependency/libopenvino_ir_frontend.so.2330 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5e75fb9aad65f5a27d4a204492f3c433e11c6f90fe52f1ded9fe1333bded206
3
+ size 593584
dependency/libopenvino_onnx_frontend.so.2300 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:924bb07b0964f3657a51772fc788c2a44d028439d6898d5d7e9ab889f34660de
3
+ size 5568776
dependency/libopyenv.so ADDED
Binary file (26.8 kB). View file
 
dependency/libopyhas.so ADDED
Binary file (17.2 kB). View file
 
dependency/libtbb.so.12 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:790f832a208fe358538d48d07c88a347cfa68d669cae757ae1122a6649f8eae1
3
+ size 366464
dependency/plugins.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <ie>
2
+ <plugins>
3
+ <plugin name="CPU" location="libopenvino_intel_cpu_plugin.so">
4
+ </plugin>
5
+ </plugins>
6
+ </ie>
engine/header.py ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+
3
+ from ctypes import *
4
+ from numpy.ctypeslib import ndpointer
5
+
6
+ def print_log(fmt): print("[LOG] \033[98m{}\033[00m" .format(fmt))
7
+ def print_info(fmt): print("[INFO] \033[92m{}\033[00m" .format(fmt))
8
+ def print_error(fmt): print("[ERR] \033[91m{}\033[00m" .format(fmt))
9
+ def print_warning(fmt): print("[WARNING] \033[93m{}\033[00m" .format(fmt))
10
+
11
+
12
+ libPath = os.path.abspath(os.path.dirname(__file__)) + '/lib/libidlivesdk.so'
13
+ libidlivesdk = cdll.LoadLibrary(libPath)
14
+
15
+ get_deviceid = libidlivesdk.getHWID
16
+ get_deviceid.argtypes = []
17
+ get_deviceid.restype = c_char_p
18
+
19
+ set_activation = libidlivesdk.setLicenseKey
20
+ set_activation.argtypes = [c_char_p]
21
+ set_activation.restype = c_int32
22
+
23
+ init_sdk = libidlivesdk.initSDK
24
+ init_sdk.argtypes = [c_char_p]
25
+ init_sdk.restype = c_int32
26
+
27
+ processImage = libidlivesdk.processImage
28
+ processImage.argtypes = [ndpointer(c_ubyte, flags='C_CONTIGUOUS'), c_int32, c_int32]
29
+ processImage.restype = c_char_p
30
+
engine/lib/libidlivesdk.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5acf23f4525ca1b24c9ba8e59a37cf72b4a4e601c5fa0d4a0079aae86ac21ee1
3
+ size 4194187