File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
FaceTracker/app/src/main/java/org/opencv/android/facetracker Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ android:
2626 - android-23
2727 - extra-android-m2repository
2828 - sys-img-${ANDROID_ABI}-${ANDROID_TARGET}
29+
30+ licenses :
31+ - android-sdk-preview-license-.+
32+ - android-sdk-license-.+
33+ - google-gdk-license-.+
2934
3035before_install :
3136 - echo $(ant -version)
@@ -34,6 +39,8 @@ before_script:
3439 - wget https://github.com/opencv/opencv/releases/download/3.4.1/opencv-3.4.1-android-sdk.zip
3540 - unzip -q opencv-3.4.1-android-sdk.zip
3641 - export OPENCV_ANDROID_SDK=$(pwd)/OpenCV-android-sdk
42+ - git clone https://github.com/tensorflow/tensorflow.git
43+ - export TF_SRC_ROOT=$(pwd)/tensorflow
3744
3845script :
3946- cd FaceTracker
Original file line number Diff line number Diff line change 99import com .google .android .gms .samples .vision .face .facetracker .FaceTrackerActivity ;
1010import com .google .android .gms .samples .vision .face .facetracker .R ;
1111
12+
1213import tensorflow .detector .spc .CameraActivityMain ;
1314
1415public class OpenCvActivity extends AppCompatActivity {
@@ -25,7 +26,9 @@ public void onCreate(Bundle icicle) {
2526 mBtnDetect .setOnClickListener (new View .OnClickListener () {
2627 @ Override
2728 public void onClick (View v ) {
29+
2830 Intent myIntent = new Intent (OpenCvActivity .this , CameraActivityMain .class );
31+
2932 OpenCvActivity .this .startActivity (myIntent );
3033 }
3134 });
You can’t perform that action at this time.
0 commit comments