TeamCode/src/main/java/BBBDepotAutonomous.java
private void initTfod() {
        int tfodMonitorViewId = hardwareMap.appContext.getResources().getIdentifier(
                "tfodMonitorViewId", "id", hardwareMap.appContext.getPackageName());
        TFObjectDetector.Parameters tfodParameters = new TFObjectDetector.Parameters(tfodMonitorViewId);
        tfodParameters.minimumConfidence = .50;//.40;
        tfod = ClassFactory.getInstance().createTFObjectDetector(tfodParameters, vuforia);
        tfod.loadModelFromAsset(TFOD_MODEL_ASSET, LABEL_GOLD_MINERAL, LABEL_SILVER_MINERAL);
    }
/**
     * Initialize the Tensor Flow Object Detection engine.
     */
Initialize the Tensor Flow Object Detection engine.
Initialize the Tensor Flow Object Detection engine .
private void initTfod() {
        int tfodMonitorViewId = hardwareMap.appContext.getResources().getIdentifier(
                "tfodMonitorViewId", "id", hardwareMap.appContext.getPackageName());
        TFObjectDetector.Parameters tfodParameters = new TFObjectDetector.Parameters(tfodMonitorViewId);
        tfodParameters.minimumConfidence = .50;
        tfod = ClassFactory.getInstance().createTFObjectDetector(tfodParameters, vuforia);
        tfod.loadModelFromAsset(TFOD_MODEL_ASSET, LABEL_GOLD_MINERAL, LABEL_SILVER_MINERAL);
    }
private void initTfod ( ) { int tfodMonitorViewId = hardwareMap . appContext . getResources ( ) . getIdentifier ( "tfodMonitorViewId" , "id" , hardwareMap . appContext . getPackageName ( ) ) ; TFObjectDetector . Parameters tfodParameters = new TFObjectDetector . Parameters ( tfodMonitorViewId ) ; tfodParameters . minimumConfidence = .50 ; tfod = ClassFactory . getInstance ( ) . createTFObjectDetector ( tfodParameters , vuforia ) ; tfod . loadModelFromAsset ( TFOD_MODEL_ASSET , LABEL_GOLD_MINERAL , LABEL_SILVER_MINERAL ) ; }
Initialize the Tensor Flow Object Detection engine.
Initialize the Tensor Flow Object Detection engine .
//.40;