You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ruitedk6 edited this page Jul 13, 2020
·
1 revision
API
You can call your own functions from the annotation tool by sending a POST request to /api/callAPI. The request hast to contain a json with the attribute api_call which corresponds to the desired function's name.
All other attributes will be the parameters when the function is called.
This is used already in:
labelPicture
labelWords
If you want to write your own state look at the above for inspiration.