Skip to content

Commit

Permalink
Adds DeepBelief activity
Browse files Browse the repository at this point in the history
  • Loading branch information
nsipplswezey committed Dec 19, 2017
1 parent 91a3f2f commit 64212b7
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
27 changes: 27 additions & 0 deletions android/src/main/java/com/lwansbrough/RCTCamera/DeepBelief.java
@@ -0,0 +1,27 @@
package com.lwansbrough.RCTCamera;

import android.app.Activity;

/**
* Created by nsipplswezey on 12/19/17.
*/

public class DeepBelief extends Activity {
public static final String TAG = "DeepBelief";

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

initDeepBelief();
}

static void initDeepBelief() {

android.util.Log.d("DeepBelief", "Init deef belief");

}



}
Expand Up @@ -54,6 +54,10 @@ public RCTCameraViewFinder(Context context, int type) {
this.setSurfaceTextureListener(this);
this._cameraType = type;
this.initBarcodeReader(RCTCamera.getInstance().getBarCodeTypes());

//start Deep Belief CNN activity here...
Intent deepBeliefIntent = new Intent(context, DeepBelief.class);
context.startActivity(deepBeliefIntent);
}

@Override
Expand Down

0 comments on commit 64212b7

Please sign in to comment.