`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 | yes [0] | | yes | yes |
| scipy | yes [1] | | yes | yes |
| cv | deprecated and replaced by cv2 |
| cv2 | | yes for py2 [2]| yes | yes |
| pyexiv2 | deprecated by gexiv2 |
| gexiv2 (replaces pyexiv2) | | yes, with gi[3]| yes | yes |
| gi (new req for gexiv2) | | yes [4,5] | yes | yes |
| gtk | | yes [6,7] | yes | yes |
| rsvg | | yes [8,9] | yes | yes |
| cairo | | yes [10,11] | yes | yes |
| magic | yes [12] | | yes | yes |
| jseg | This is currently a zip file. Pypi pkg needed |
| jseg/jpeg-6b | Can jpeg be used ? jpeg-6b seems to be a zip |
| _music21 | Do we still need the patch ? If not use [13] |
| opencv | Do we still need this ? |
| pydmtx | yes [14] | | | |
| py_w3c | yes [15] | | | |
| _zbar | Use a new lirary. Not been updated since 2010 |
| _bob | Do we still need the patch ? If not use [16] |
| xbob_flandmark | yes [17 or 18] | | | |
| pywt | yes [19] | | | |
| slic | This is currently a zip file. Pypi pkg needed |
| yaafelib | No pypi pkg. Use librosa[20] maybe? - has pypi |
| matplotlib | yes [21] | | yes | yes |
| pycolorname | yes [22] | | yes | yes |
[0] - https://pypi.python.org/pypi/numpy
[1] - https://pypi.python.org/pypi/scipy
[2] - http://packages.ubuntu.com/trusty/python/python-opencv
[3] - http://packages.ubuntu.com/trusty/gir1.2-gexiv2-0.10
[4] - http://packages.ubuntu.com/trusty/python/python-gi
[5] - For python2 http://packages.ubuntu.com/trusty/python/python-gtk2
[6] - For python3 http://packages.ubuntu.com/trusty/python3-gi
[7] - For python3 using GI http://packages.ubuntu.com/trusty/gir1.2-gtk-2.0
[8] - For python2 http://packages.ubuntu.com/trusty/python-rsvg
[9] - For python3 using GI http://packages.ubuntu.com/trusty/gir1.2-rsvg-2.0
[10] - For python2 http://packages.ubuntu.com/trusty/python-cairo
[11] - For python3 http://packages.ubuntu.com/trusty/python3-cairo
[12] - https://pypi.python.org/pypi/python-magic
[13] - https://pypi.python.org/pypi/music21
[14] - https://pypi.python.org/pypi/pydmtx
[15] - https://pypi.python.org/pypi/py_w3c
[16] - https://pypi.python.org/pypi/bob
[17] - https://pypi.python.org/pypi/xbob.flandmark
[18] - New flandmark implementation https://pypi.python.org/pypi/bob.ip.flandmark
[19] - https://pypi.python.org/pypi/PyWavelets
[20] - https://github.com/bmcfee/librosa
[21] - https://pypi.python.org/pypi/matplotlib
[22] - https://pypi.python.org/pypi/pycolorname
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