This tool allows users to give annotation on images and export as JSON files.
This tool require Apache or similar web server serves as backend engine.
-
setup apache server
-
open the tool via access this url:
http://localhost/lightnote/lightDraw2.html?img=Images/02_2.jpg&imid=1&dbsid=1&dbnum=20
use GET token to specify the path of an image ("img=Images/02_2.jpg")
- please notices that one of the library, KineticJS, stops supporting anymore.(see this issue) we directly upgraded to latest version, but it might contains some errors.
- Press "Add Box Proxy" Button.
- Adjust the Top face of Box.
- Press "Action Done Button " and Adjust the Bottom face of Box.
- Select a tag.
- Press "Action Done" Button to lock proxy.
- Press "Add Space Proxy" Button.
- Adjust four dots to fit walls and floor.
- Press "Action Done" Button to lock proxy.
- Press "Save proxy button" to enter delete selection mode.
- Move to proxy and left click to delete object.
- Press Action Done Button to leave delete mode.
- Press "Save Button" to save and leave.
The Red dots should always be placed on left side.
There are three major script files:
Main Entry and logic control:lightDraw2.html
JS State Machine:statetools.js
WebGL Warpper:utility.js