jayvdb added a subscriber: DaBPunkt.
jayvdb added a comment.

  Ah, I see `posit` is likely used in method `_JpegFile._util_get_Pose_POSIT`.
  
  Lets expand this tasks scope a little, to include investigating `cv2` used by 
catimages.
  
  catimages.py 's first revision 
(https://phabricator.wikimedia.org/rPWBO4e302baecac70e28fc12de117928a3fdd00f6e44)
 used `cv2` described in the source as
  
    # TS: nonofficial cv2.so backport of the testing-version of
    # python-opencv because of missing build-host, done by DaB
  
  My guess is that this "testing-version of python-opencv" is now part of the 
main distributed library, and there is no need for a custom `cv2`.  But it 
would be good to find out what "missing build-host" means.
  
  There are a bunch of Python packages that provide access to opencv : 
https://pypi.python.org/pypi?%3Aaction=search&term=opencv&submit=search
  
  It looks like none of them are the 'real' cv2 , according to 
http://answers.opencv.org/question/67725/opencv-in-pypi/ , which means 
catimages.py in core will need a custom ImportError message to inform the user 
how to install it.
  
  On Fedora, they recommend using yum/dnf to install the operating system 
package `opencv-python`.  In ubuntu it appears to be called `python-opencv`.  
Debian doesnt appear to include it, but Wikimedia doesnt usually use Debian.

TASK DETAIL
  https://phabricator.wikimedia.org/T128946

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: DaBPunkt, pywikibot-bugs-list, jayvdb, DrTrigon, Aklapper, AbdealiJK, Anshoe



_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to