1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 03:12:34 +01:00

statedetect: pylint and dependencies fixes

- Corrected the depency for opencv bindings. Even though the library is
  imported as "cv2", the package containing it is called
  "opencv-python".
- pylint: ignore no-member warnings; cv2 pulls it's memebers dynamically
  from the underlying libopencv, so pylint can't see them.
This commit is contained in:
Sergei Trofimov
2016-11-04 17:05:39 +00:00
parent 2becd94381
commit f12cf6d557
2 changed files with 3 additions and 2 deletions

View File

@@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# pylint: disable=no-member
"""
@@ -20,7 +21,7 @@ Requires a 'statedetection' directory in the workload directory that includes th
and the 'templates' folder with PNGs of all templates mentioned in the yaml file.
Requires the following Python libraries:
numpy, pyyaml (yaml), imutils and opencv (cv2)
numpy, pyyaml (yaml), imutils and opencv-python
"""