User:AbdealiJK/Comparison AnnotationTool FileContentsByBot
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
- ColorAverage (example) - Shows Color name, delta_e, RGS, Peaks
- ColorRegions (example) - Shows color regions with the average color in each region.
- Faces (example) - Show position, confidence, eyes, mouth, nose, etc of the face. Also show a small thumbnail of the face itself.
- OpticalCodes (example) - Shows position, quality, confidence, etc. of detecting the optical code.
- Properties (example) - Shows palette, filesize, dimensions, palette, etc.
- 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 ?
- definition - Not sure what it does. Is it being used anywhere ? It seems to be transcluded in multiple pages though