Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

25
LINES

< > BotCompany Repo | #1032225 // edgeDetectorDemo

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (15913L/99K).

!include once #1032199 // MinimalRecognizer

svoid edgeDetectorDemo() {
  var _rec = dm_profileThisThread(() -> {
    MinimalRecognizer rec = new(gazelleLogo());
    rec.childLivelinessFactor = 4/*2*//*1.5*/;
    rec.featureSize = 0.06;
    rec.maxSteps = 1000;
    rec.maxDescentLevel = 5;
    rec.finalMinLiveliness = .3;
    rec.fixFeatureSize();
    print(featureSize := rec.featureSize);
    //rec.verbose = true;
    //rec.verboseLookAt = true;
    //rec.verboseValues = true;
    //rec.verboseDescentProbabilities = true;
    //rec.verboseFound = true;
    repeatForNSeconds_atLeastOnce(5.0, r {
      rec.clearCaches();
      rec.run();
    });
    ret rec;
  });
  _rec.show();
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032225
Snippet name: edgeDetectorDemo
Eternal ID of this version: #1032225/4
Text MD5: 85a59b4b8dbdfccdb320b2472386c503
Transpilation MD5: 4efe7b861baaa28630e065955c5568ee
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-20 23:57:28
Source code size: 712 bytes / 25 lines
Pitched / IR pitched: No / No
Views / Downloads: 141 / 205
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1032228 - edgeDetectorConfig1