Skip to content

Commit

Permalink
[wip] pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
sfermi committed Mar 4, 2019
1 parent 1b7350e commit 5eaf988
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cvpm/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
venv/
pyvenv.cfg/
.env
6 changes: 6 additions & 0 deletions cvpm/pipeline.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import toml
class Pipeline(object):
def __init__(self, name):
self.name = name
def load(self, filepath):

3 changes: 3 additions & 0 deletions cvpm/pyvenv.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
home = /usr/bin
include-system-site-packages = false
version = 3.6.7
3 changes: 3 additions & 0 deletions cvpm/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
gevent
flask
toml
Empty file added cvpm/tests/assets/pipeline.toml
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def load_image_file(file, mode='RGB'):

class InterfaceTester(unittest.TestCase):
def test_detect_interface(self):
image_np = load_image_file('cvpm/tests/assets/lenna.jpg')
image_np = load_image_file('tests/assets/lenna.jpg')
x_start, x_stop, y_start, y_stop = 12,13,14,15
postDetectionInterface = ObjectDetectionInterface('post_detection')
postDetectionInterface.addObjectCoordinates(x_start, x_stop, y_start, y_stop, 'face')
Expand Down
Empty file added cvpm/tests/run.py
Empty file.
File renamed without changes.

0 comments on commit 5eaf988

Please sign in to comment.