Loading autocnet/spatial/overlap.py +3 −0 Original line number Diff line number Diff line Loading @@ -111,6 +111,9 @@ def place_points_in_overlaps(cg, size_threshold=0.0007, reference=None, height=0 continue overlaps = o.overlaps if overlaps == None: continue if reference is None: source = overlaps[0] else: Loading autocnet/transformation/fundamental_matrix.py +3 −0 Original line number Diff line number Diff line Loading @@ -292,6 +292,9 @@ def compute_fundamental_matrix(kp1, kp2, method='mle', reproj_threshold=2.0, else: raise ValueError("Unknown estimation method. Choices are: 'lme', 'ransac', 'lmeds', '8point', or 'normal'.") if len(kp1) == 0 or len(kp2) == 0: warnings.warn("F Computation Failed.") return None, None # OpenCV wants arrays try: # OpenCV < 3.4.1 Loading Loading
autocnet/spatial/overlap.py +3 −0 Original line number Diff line number Diff line Loading @@ -111,6 +111,9 @@ def place_points_in_overlaps(cg, size_threshold=0.0007, reference=None, height=0 continue overlaps = o.overlaps if overlaps == None: continue if reference is None: source = overlaps[0] else: Loading
autocnet/transformation/fundamental_matrix.py +3 −0 Original line number Diff line number Diff line Loading @@ -292,6 +292,9 @@ def compute_fundamental_matrix(kp1, kp2, method='mle', reproj_threshold=2.0, else: raise ValueError("Unknown estimation method. Choices are: 'lme', 'ransac', 'lmeds', '8point', or 'normal'.") if len(kp1) == 0 or len(kp2) == 0: warnings.warn("F Computation Failed.") return None, None # OpenCV wants arrays try: # OpenCV < 3.4.1 Loading