- This is a
cordova
application for writing and saving handwritten characters. I used it for learning and collecting Japanese kanji data.
Sample
- Create a blank cordova project
cordova create [folder-name] [com.example.cordova] [app-name]
-
Replace the
www
folder content with this repositorywww
-
Add your platform of choice. For example,
cordova platform add android
- You will need to install some addition softwares depend on your targeting platform (
android
will needAndroid Studio
and anAndroid SDK
version)
- You will need to install some addition softwares depend on your targeting platform (
-
Add
cordova-plugin
-
cordova plugin add https://github.com/ichisadashioko/Canvas2ImagePlugin.git
-
-
build
orrun
it in your devices-
Build for android platform:
cordova build android
-
Or run on android device:
cordova run android
-
-
On
android
device, images will be saved at/root/sdcard/Pictures/cordova_app/
. -
Pre-build apk is availabled at releases.
-
If your purpose is to run Tensorflow model inference via
tensorflow.js
, it's not possible becausetensorflow.js
useWeb Worker API
to pull its assets from the server the web page is running. However, cordova application is just offlinehtml-viewer
with offlinejavascript
.