Commit c579c0dd authored by Vincent POLLET's avatar Vincent POLLET
Browse files

Clean up dependencies and imports

parent 2180b30d
Pipeline #45014 failed with stages
in 3 minutes and 18 seconds
......@@ -22,4 +22,5 @@ record.txt
miniconda.sh
miniconda/
*.DS_Store
var/*
\ No newline at end of file
var/*
.vscode/
\ No newline at end of file
......@@ -4,7 +4,6 @@ import cv2 as cv
import json
import bob.io.base
import bob.io.image
import bob.ip.color
......@@ -60,7 +59,7 @@ class CameraPair:
(dim0, dim1),
self.R,
self.T,
alpha=-1);
alpha=-1)
return RL, RR, PL, PR, Q
def stereo_rectify(self, img_l, img_r):
......@@ -76,7 +75,7 @@ class CameraPair:
RR,
PR,
img_l.shape[::-1],
cv.CV_32FC1);
undistorted_rectifiedL = cv.remap(img_l, mapL1, mapL2, cv.INTER_LINEAR);
undistorted_rectifiedR = cv.remap(img_r, mapR1, mapR2, cv.INTER_LINEAR);
cv.CV_32FC1)
undistorted_rectifiedL = cv.remap(img_l, mapL1, mapL2, cv.INTER_LINEAR)
undistorted_rectifiedR = cv.remap(img_r, mapR1, mapR2, cv.INTER_LINEAR)
return undistorted_rectifiedL, undistorted_rectifiedR, Q
......@@ -7,7 +7,6 @@ import cv2 as cv
import datetime
import bob.io.base
import bob.io.image
import bob.ip.color
from .camera import Camera, CameraPair
......
......@@ -30,21 +30,16 @@ requirements:
host:
- python {{ python }}
- setuptools {{ setuptools }}
- pybind11
- bob.extension
- numpy {{ numpy }}
- pybind11 {{ pybind11 }}
- opencv
- bob.io.base
- bob.io.image
- bob.ip.color
# place your other host dependencies here
run:
- python
- setuptools
- pybind11
- opencv
- bob.io.base
- bob.io.image
- bob.ip.color
# place other runtime dependencies here (same as requirements.txt)
- {{ pin_compatible('python') }}
- {{ pin_compatible('setuptools') }}
- {{ pin_compatible('pybind11') }}
test:
imports:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment