Realcat commited on
Commit
b4c96f3
·
1 Parent(s): e228d30

update: viz

Browse files
Files changed (2) hide show
  1. imcui/ui/viz.py +2 -3
  2. pyproject.toml +7 -1
imcui/ui/viz.py CHANGED
@@ -444,13 +444,12 @@ def display_matches(
444
  texts=texts,
445
  )
446
  fig = fig_mkpts
447
- # TODO: draw lines
448
- if (
449
  "line0_orig" in pred
450
  and "line1_orig" in pred
451
  and pred["line0_orig"] is not None
452
  and pred["line1_orig"] is not None
453
- and (tag == "LINES_RAW" or tag == "LINES_RANSAC")
454
  ):
455
  # lines
456
  mtlines0 = pred["line0_orig"]
 
444
  texts=texts,
445
  )
446
  fig = fig_mkpts
447
+ elif (
 
448
  "line0_orig" in pred
449
  and "line1_orig" in pred
450
  and pred["line0_orig"] is not None
451
  and pred["line1_orig"] is not None
452
+ # and (tag == "LINES_RAW" or tag == "LINES_RANSAC")
453
  ):
454
  # lines
455
  mtlines0 = pred["line0_orig"]
pyproject.toml CHANGED
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
5
  [project]
6
  name = "imcui"
7
  description = "Image Matching Webui: A tool for matching images using sota algorithms with a Gradio UI"
8
- version = "0.0.1"
9
  authors = [
10
  {name = "vincentqyw"},
11
  ]
@@ -39,3 +39,9 @@ minversion = "6.0"
39
  addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
40
  xfail_strict = true
41
  testpaths = ["tests"]
 
 
 
 
 
 
 
5
  [project]
6
  name = "imcui"
7
  description = "Image Matching Webui: A tool for matching images using sota algorithms with a Gradio UI"
8
+ version = "0.0.2"
9
  authors = [
10
  {name = "vincentqyw"},
11
  ]
 
39
  addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
40
  xfail_strict = true
41
  testpaths = ["tests"]
42
+ filterwarnings = [
43
+ "ignore::DeprecationWarning",
44
+ "ignore::UserWarning",
45
+ "ignore::FutureWarning",
46
+ "ignore::RuntimeWarning",
47
+ ]