Download Jar. Libraryless. Click here for Pure Java version (5370L/37K).
!7 static File yoloPath; p { File imagePath = loadImageAsFile(#1101133); yoloPath = homeFile("dev/darknet"); //set backtick_keepScript; S result = backtick_raw(print("cd " + bashQuote(yoloPath) + " && ./darknet detector test cfg/voc.data cfg/tiny-yolo-voc.cfg tiny-yolo-voc.weights " + bashQuote(imagePath))); //print(result); pnl(result); new Matches m; for (S line : lines(result)) if (regexpMatchGroups("(\\w+):\\s*(\\d+)%", line, m)) printStruct(m); }
Install it first
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, iveijnkanddl, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1013253 |
| Snippet name: | Run TinyYOLO on stock image |
| Eternal ID of this version: | #1013253/8 |
| Text MD5: | 793f6f0a702265cafd4048cc095c9c6b |
| Transpilation MD5: | 9536fd30d355428fa4a7a5e19a3a0a81 |
| Author: | stefan |
| Category: | javax / image recognition |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-30 04:15:59 |
| Source code size: | 504 bytes / 17 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 840 / 1756 |
| Version history: | 7 change(s) |
| Referenced in: | #1013257 - Waifu v1 [Detect person in front of webcam & play sounds when coming/going] |