!7 static File yoloPath; p { File imagePath = loadImageAsFile(#1101133); yoloPath = homeFile("c:\darknet"); //set backtick_keepScript; S result = backtick_raw(print("cd " + bashQuote(yoloPath) + " && ./darknet detector test cfg/voc.data cfg/yolov3.cfg yolov3.weights " + bashQuote(imagePath))); //print(result); pnl(result); new Matches m; for (S line : lines(result)) if (regexpMatchGroups("(\\w+):\\s*(\\d+)%", line, m)) printStruct(m); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, iveijnkanddl, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035244 |
Snippet name: | Run TinyYOLO on stock image {windows} |
Eternal ID of this version: | #1035244/1 |
Text MD5: | ab626b4c77798b34cce0ca35c3e82ffe |
Author: | someone |
Category: | |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-04-24 20:32:44 |
Source code size: | 489 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 172 / 171 |
Referenced in: | -