User:AbdealiJK/Comparison AnnotationTool FileContentsByBot

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

This is a page that compares Help:Gadget-ImageAnnotator and the JavaScript template Template:FileContentsByBot. The main reason for this comparison is to understand which one should be used for the GSoC project to port the pywikibot script catimages from pywikibot-compat to pywikibot-core (Phabricator task T129611).


The ImageAnnotator is able to make rectangles on an image, along with edit capabilities and so on. It's useful for people to edit annotations with hand, delete them with a nicer (button) interface, and also edit using a nice pop up box. Pros:

  • Has an edit button on the page
  • Has a popup to edit the annotation or delete it
  • Has interface to use the mouse to tag parts of the image

The FileContentsByBot is feature rich. It has sub templates for:

  • Generic (example) - A tag which simply adds a 'name' and 'value' pair with some formatting. Useful for the categories in PASCAL VOC
  • Faces (example) - Show position, confidence, eyes, mouth, nose, etc of the face. Also show a small thumbnail of the face itself.
  • History (example) - Show "saved" and "converted" info and mention names of softwares used for it.
  • OpticalCodes (example) - Shows position, quality, confidence, etc. of detecting the optical code.
  • areas - A generic "area" definition in the image. (Note: This is exactly the same as ImageAnnotator, and ImageAnnotator completely supersedes this as it also has a UI). Used internally in Faces and so on ?