Libraryless. Click here for Pure Java version (15913L/99K).
1 | !include once #1032199 // MinimalRecognizer |
2 | |
3 | svoid edgeDetectorDemo() { |
4 | var _rec = dm_profileThisThread(() -> { |
5 | MinimalRecognizer rec = new(gazelleLogo()); |
6 | rec.childLivelinessFactor = 4/*2*//*1.5*/; |
7 | rec.featureSize = 0.06; |
8 | rec.maxSteps = 1000; |
9 | rec.maxDescentLevel = 5; |
10 | rec.finalMinLiveliness = .3; |
11 | rec.fixFeatureSize(); |
12 | print(featureSize := rec.featureSize); |
13 | //rec.verbose = true; |
14 | //rec.verboseLookAt = true; |
15 | //rec.verboseValues = true; |
16 | //rec.verboseDescentProbabilities = true; |
17 | //rec.verboseFound = true; |
18 | repeatForNSeconds_atLeastOnce(5.0, r { |
19 | rec.clearCaches(); |
20 | rec.run(); |
21 | }); |
22 | ret rec; |
23 | }); |
24 | _rec.show(); |
25 | } |
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: | 140 / 205 |
Version history: | 3 change(s) |
Referenced in: | [show references] |