Page MenuHomePhabricator

Install python module opencv (v1 and v2)
Closed, ResolvedPublic

Description

Author: dr.trigon

Description:
Hello admins!

I am setting up DrTrigonBot on Labs (migrating from TS). For this I need and thus request the installation of the 'cv' and 'cv2' python module.

Thanks and Greetings
DrTrigon


Version: unspecified
Severity: enhancement

Details

Reference
bz53625

Related Objects

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:09 AM
bzimport added a project: Toolforge.
bzimport set Reference to bz53625.

I am not familiar with those modules. Are they related to opencv?

dr.trigon wrote:

Yes exactly! Version 1 and 2 of the OpenCV python bindings.

As far as I can tell, the version of opencv supported by Ubuntu precise is 2.3.1, with seems to provide only the 'cv' python module (though it binds with 'cv2.so'), so it's not clear which of those requirements this meets.

I'll install this now; if you are missing further requirements, I'll look into it.

Change 83105 had a related patch set uploaded by coren:
Tool Labs: opencv (and python bindings to same)

https://gerrit.wikimedia.org/r/83105

Change 83105 merged by coren:
Tool Labs: opencv (and python bindings to same)

https://gerrit.wikimedia.org/r/83105

dr.trigon wrote:

(In reply to comment #3)

As far as I can tell, the version of opencv supported by Ubuntu precise is
2.3.1, with seems to provide only the 'cv' python module (though it binds
with
'cv2.so'), so it's not clear which of those requirements this meets.

I'll install this now; if you are missing further requirements, I'll look
into
it.

Thanks - I will test all new software!

I remember when we did the same on the TS (debian/ubuntu) we had some similar issues, please confer [1] and [2] (search for "cv"). As you can see there a (unofficial) backport of cv2 was installed - I think DaB did this...

[1] https://jira.toolserver.org/browse/TS-1360
[2] http://lists.wikimedia.org/pipermail/toolserver-l/2013-March/005778.html

Greetings

dr.trigon wrote:

(In reply to comment #6)

Ok tested with python:
>>> import cv
>>> import cv2
not errors, so everything seems to work all right. Thanks!