When I copy the Mturk.html into a custom HIT in the Amazon Turk Requester, the polygon annotation seems to be not working as expected.
For example, I clicked "tree" to annotate on the left. As I clicked "sky" to move on to annotate on the right side, there is an edge connecting the first "tree" and the "sky". I also couldn't figure out how to get the polygon filled with color as what you did in the demo (the middle tree). Did I do something wrong here?
I would appreciate it if you could please help me with it and I look forward to your response!
Regarding the submit button, I know that it gets added separately to the HTML in localDemo.html, but inside the file MTurk.html, how does the submit button get added to the page? For instance, I see on this line that the element already exists. I inferred that the Mechanical Turk code must append an element called submitButton to the page under the existing use case, or something similar?
The reason I am curious is that I am making some modifications to this code so it can run in Amazon SageMaker for a private workforce instead of via Mechanical Turk, and was trying to figure out some details of the app's design for its current platform.