MCPcopy Create free account
hub / github.com/Kaggle/docker-python / test_imread

Method test_imread

tests/test_opencv.py:7–10  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5
6class TestOpenCV(unittest.TestCase):
7 def test_imread(self):
8 img = cv2.imread('/input/tests/data/dot.png')
9
10 self.assertEqual(1, img.shape[0])
11
12 def test_classifier(self):
13 face_classifier = cv2.CascadeClassifier()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected