forked from alevdikov/cordova-plugin-tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
51 lines (39 loc) · 2.21 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-tensorflow" version="0.0.1">
<name>TensorFlow for Cordova</name>
<description>Cordova/PhoneGap wrapper for TensorFlow's image recognition binary library.</description>
<license>MIT</license>
<keywords>cordova,device</keywords>
<dependency id="cordova-plugin-file-transfer" />
<dependency id="cordova-plugin-zip" />
<js-module src="www/tensorflow.js" name="tensorflow">
<clobbers target="TensorFlow" />
</js-module>
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="TensorFlow">
<param name="android-package" value="io.wq.tensorflow.TensorFlow" />
</feature>
</config-file>
<source-file src="src/android/TensorFlow.java" target-dir="src/io/wq/tensorflow" />
<source-file src="src/android/tf_libs/Classifier.java" target-dir="src/org/tensorflow/demo" />
<source-file src="src/android/tf_libs/TensorFlowImageClassifier.java" target-dir="src/org/tensorflow/demo" />
<source-file src="src/android/tf_libs/libandroid_tensorflow_inference_java.jar" target-dir="libs" />
<source-file src="src/android/tf_libs/armeabi-v7a/libtensorflow_inference.so" target-dir="libs/armeabi" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="TensorFlow">
<param name="ios-package" value="TensorFlow" />
</feature>
</config-file>
<framework type='podspec' src='TensorflowPod' spec=":podspec => 'https://raw.githubusercontent.com/alevd/TensorflowPod/master/TensorflowPod.podspec'"/>
<header-file src="src/ios/TensorFlow.h" />
<source-file src="src/ios/TensorFlow.mm" compiler-flags="-std=gnu++11" />
<header-file src="src/ios/tf_libs/tensorflow_utils.h" />
<source-file src="src/ios/tf_libs/tensorflow_utils.mm" compiler-flags="-std=gnu++11" />
<header-file src="src/ios/tf_libs/ios_image_load.h" />
<source-file src="src/ios/tf_libs/ios_image_load.mm" compiler-flags="-std=gnu++11" />
</platform>
</plugin>