`catimages` from `compat` should be moved to be a separate python package that depends on pywikibot `core`, and a whole lot of other libraries.
Checklist for dependencies of catimages.py
| Package name | PYPI package | Ubuntu package | Py2.6 | Py3.5 |
| numpy | [[https://pypi.python.org/pypi/numpy|yes]] | | yes | yes |
| scipy | [[https://pypi.python.org/pypi/scipy|yes]] | | yes | yes |
| cv | deprecated and replaced by cv2 |
| cv2 | | yes for [[http://packages.ubuntu.com/trusty/python/python-opencv|py2]] | yes | yes |
| pyexiv2 | deprecated by gexiv2 |
| gexiv2 (replaces pyexiv2) | | yes, with [[http://packages.ubuntu.com/trusty/gir1.2-gexiv2-0.10|gi]] | yes | yes |
| gi (new req for gexiv2) | | yes ([[http://packages.ubuntu.com/trusty/python/python-gi|py2]], [[http://packages.ubuntu.com/trusty/python3-gi|py3]]) | yes | yes |
| gtk | | yes ([[http://packages.ubuntu.com/trusty/python/python-gtk2|py2]], [[http://packages.ubuntu.com/trusty/gir1.2-gtk-2.0|py3]]) | yes | yes |
| rsvg | | yes ([[http://packages.ubuntu.com/trusty/python-rsvg|py2]], [[http://packages.ubuntu.com/trusty/gir1.2-rsvg-2.0|py3]]) | yes | yes |
| cairo | | yes ([[http://packages.ubuntu.com/trusty/python-cairo|py2]], [[http://packages.ubuntu.com/trusty/python3-cairo|py3]]) | yes | yes |
| magic | [[https://pypi.python.org/pypi/python-magic|yes]] | | yes | yes |
| jseg | This is currently a zip file. Pypi pkg needed |
| jseg/jpeg-6b | Can Pillow be used instead ? jpeg-6b seems to be a zip |
| _music21 | Do we still need the patch ? If not, use [[https://pypi.python.org/pypi/music21|pypi]] |
| opencv (self written) | Do we still need this ? |
| pydmtx | [[https://pypi.python.org/pypi/pydmtx|yes]] | | | |
| py_w3c | [[https://pypi.python.org/pypi/py_w3c|yes]] | | | |
| _zbar | Use a new library for barcodes. Not been updated since 2010 |
| _bob | Do we still need the patch ? If not use [[https://pypi.python.org/pypi/bob|pypi]] |
| xbob_flandmark | [[https://pypi.python.org/pypi/xbob.flandmark|yes]] or use [[https://pypi.python.org/pypi/bob.ip.flandmark|newer implementation]] | | | |
| pywt | [[https://pypi.python.org/pypi/PyWavelets|yes]] | | | |
| slic | This is currently a zip file. Pypi pkg needed |
| yaafelib | No pypi pkg. Use [[https://github.com/bmcfee/librosa|librosa]] as alternative maybe? - as it has pypi |
| matplotlib | [[https://pypi.python.org/pypi/matplotlib|yes]] | | yes | yes |
| pycolorname | [[https://pypi.python.org/pypi/pycolorname|yes]] | | yes | yes |
| Pillow | [[https://pypi.python.org/pypi/Pillow|yes]] | | yes | yes |
Binary tools:
- exiftools
- convert (imagemagick)
- pdftotext
- pdfimages
- ffprobe
Details:
Primary mentor: @DrTrigon
Co-mentor: @jayvdb
Other mentors: (optional, Phabricator username)
Skills: python and computer vision
Estimated project time for a senior contributor: 2-4 weeks
Microtasks: T76211 T128946 T67192
Conpherence: Z360