Skip to content

Commit d51e90c

Browse files
committed
removed pycolmap import in image_matching.py
1 parent 21c57d4 commit d51e90c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/run_lint_format.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: lint_and_format
22

33
on:
44
push:
5-
branches: [master, dev]
5+
branches: "*" # Run on all branches
66
pull_request:
77
branches: [master, dev]
88

src/deep_image_matching/image_matching.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import cv2
77
import h5py
88
import numpy as np
9-
import pycolmap
109
import torch
1110
from tqdm import tqdm
1211

@@ -425,7 +424,7 @@ def match_pairs(self, feature_path: Path, try_full_image: bool = False) -> Path:
425424
logger.debug(f"Matching image pair: {name0} - {name1}")
426425

427426
# Run matching
428-
matches = self._matcher.match(
427+
self._matcher.match(
429428
feature_path=feature_path,
430429
matches_path=matches_path,
431430
img0=im0,

0 commit comments

Comments
 (0)