forked from FOSS/BangleApps
Add simple gesture test app
parent
21a52670fa
commit
80d88200c1
16
apps.json
16
apps.json
|
@ -321,7 +321,21 @@
|
|||
"storage": [
|
||||
{"name":"+sclock","url":"clock-simple.json"},
|
||||
{"name":"-sclock","url":"clock-simple.js"},
|
||||
{"name":"*sclock","url":"clock-simple.js","evaluate":true}
|
||||
{"name":"*sclock","url":"clock-simple-icon.js","evaluate":true}
|
||||
]
|
||||
},
|
||||
{ "id": "gesture",
|
||||
"name": "Gesture Test",
|
||||
"icon": "gesture.png",
|
||||
"description": "BETA! Uploads a basic Tensorflow Gesture model, and then outputs each gesture as a message",
|
||||
"tags": "gesture,ai",
|
||||
"type":"app",
|
||||
"storage": [
|
||||
{"name":"+gesture","url":"gesture.json"},
|
||||
{"name":"-gesture","url":"gesture.js"},
|
||||
{"name":".tfnames","url":"gesture-tfnames.js","evaluate":true},
|
||||
{"name":".tfmodel","url":"gesture-tfmodel.js","evaluate":true},
|
||||
{"name":"*gesture","url":"gesture-icon.js","evaluate":true}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
require("heatshrink").decompress(atob("mEwxH+AH4A/AH4A/ABVjFNE/F4tjA4oAZ54ABFIowHMTouCGAooCFIk/GDovEMIwpFMLIoDF4owOLTYwLRYwvc5wwSF7gABSRk/GF6NXE5HO5D0SLaYxHGB6LYF5AwLMBBBIAAYpHA4gwNbpjsPFAowTB6phYQAovKXZAIEAwwhIBgwvIFQYwLfQIvHEYguSEYZhLACXOXhpSGGDLsRGDovJGBDsOFy4ABEIopGF0LCHLRY1OF5wwSF7qSFdkZhOF9AwE5wuFGh4uTSQxelsc/GDZaRn4wbRadjAAIwXXiowYFyowIF04wWFzIwUFzYABn4wPFzoxDAwotmAH4A/AH4AjA=="))
|
|
@ -0,0 +1 @@
|
|||
atob("HAAAAFRGTDMAABIAHAAEAAgADAAQABQAAAAYABIAAAADAAAAjA0AABAEAAD4AwAAPAAAAAQAAAABAAAADAAAA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AAABAAAABgAAAAAADgAYAAgABwAMABAAFAAOAAAAAAAACWgAAAAFAAAATAAAABAAAAAMABQABAAIAAwAEAAMAAAALAAAACAAAAAUAAAABAAAAAEAAAAJAAAAAAAAAAEAAACacSU/AQAAALcXmUIBAAAAmoCwwg0AAABJZGVudGl0eV9pbnQ4AAAAAgAAAAEAAAAGAAAABQAAAGAAAABEAAAAKAAAABwAAAAEAAAA1v///wAAAAYCAAAAAAAGAAgABwAGAAAAAAAAcvL///8AAAARAgAAAAAACgAOAAcAAAAIAAoAAAAAAAAJBAAAAAAACgAMAAcAAAAIAAoAAAAAAAADAwAAAA==")
|
|
@ -0,0 +1 @@
|
|||
"swipeleft,swiperight,upup,waggle,clap2"
|
|
@ -0,0 +1,5 @@
|
|||
Bangle.on('aiGesture',(gesture)=>{
|
||||
E.showMessage(gesture?gesture:"Unknown");
|
||||
setTimeout(()=>g.clear(), 2000);
|
||||
});
|
||||
E.showMessage("Wave your hands\nto detect\na gesture","Gesture Test");
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"name":"Gesture Test", "type":"app",
|
||||
"icon":"*gesture",
|
||||
"src":"-gesture"
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
Loading…
Reference in New Issue