mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-04 00:33:35 +08:00
DOC: Warn about OpenCV deprecation.
This commit is contained in:
@@ -1,5 +1,17 @@
|
||||
from opencv_constants import *
|
||||
|
||||
from .. import get_log as _get_log
|
||||
|
||||
_log = _get_log("scikits.image.opencv")
|
||||
_log.warn("""
|
||||
The scikits.image OpenCV wrappers will be removed in the next release.
|
||||
|
||||
These wrappers were written before OpenCV's own allowed manipulation
|
||||
of NumPy arrays without copying. Since they now do, please switch to
|
||||
the official bindings::
|
||||
|
||||
http://opencv.willowgarage.com/wiki/""")
|
||||
|
||||
# Note: users should be able to import this module even if
|
||||
# the extensions are uncompiled or the opencv libraries unavailable.
|
||||
# In that case, the opencv functionality is simply unavailable.
|
||||
|
||||
Reference in New Issue
Block a user