Open jafekb opened 6 years ago
Hi, thanks for the kind words! Actually yes, the config can be passed directly in the html page loading the app (see this part of documentation), so changing the index.html page will do the trick.
Only half of it though. Currently the "move" tool is always displayed. I realized we had a similar case were we manually removed from the code the button for the move tool for an internal project. In the rewrite branch (0.19) I was preparing the code to have config "tools" and not "annotations", which would enable you to choose to display or not a moving tool (or zooming, etc.)
I stopped a bit the dev for the past few months (last commit on 0.19 is October 23rd) because I was changing country. I'm getting settled now so I'll soon restart the update of the app and let you know in this issue when progress is made.
Great thanks!
Ok I see how the config can be passed in, but I don't see a list anywhere of all the possible keys in the config file. Are the 3 keys "classes", "annotations", "images" , or are there more?
Thank you
On Tue, Dec 4, 2018 at 5:51 PM Matthieu Pizenberg notifications@github.com wrote:
Hi, thanks for the kind words! Actually yes, the config can be passed directly in the html page loading the app (see this part of documentation https://reva-n7.gitbook.io/annotation-app/application-code-structure#startup-and-interactions-with-javascript), so changing the index.html page will do the trick.
Only half of it though. Currently the "move" tool is always displayed. I realized we had a similar case were we manually removed from the code the button for the move tool for an internal project. In the rewrite branch (0.19) I was preparing the code to have config "tools" and not "annotations", which would enable you to choose to display or not a moving tool (or zooming, etc.)
I stopped a bit the dev for the past few months (last commit on 0.19 is October 23rd) because I was changing country. I'm getting settled now so I'll soon restart the update of the app and let you know in this issue when progress is made.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mpizenberg/annotation-app/issues/38#issuecomment-444290128, or mute the thread https://github.com/notifications/unsubscribe-auth/AYBk6Cl_U3WHB7q5qN7ZMuWhnON54WrCks5u1vxygaJpZM4ZBeo2 .
First of all, this is one of the best annotation tools I have seen online so thank you for your great work.
Is there any way to change the default "annotation" selection when the app is opened? For example, I don't need to be able to move the image around, but I want to start annotating bounding boxes as soon as I open the image - can I change the default "move" to "bbox"? Is this an option in the config file?
Thank you.