vtool-ibeis 2.2.1__py3-none-any.whl → 2.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -85,7 +85,7 @@ def demo_grabcut(bgr_img):
85
85
  >>> import utool as ut
86
86
  >>> import plottool_ibeis as pt
87
87
  >>> import vtool_ibeis as vt
88
- >>> img_fpath = ut.grab_test_imgpath('easy1.png')
88
+ >>> img_fpath = ut.grab_test_imgpath('astro')
89
89
  >>> bgr_img = vt.imread(img_fpath)
90
90
  >>> # execute function
91
91
  >>> print(bgr_img.shape)
@@ -374,8 +374,8 @@ def testdata_matching_affine_inliers():
374
374
  ori_thresh = 1.57
375
375
  xy_thresh_sqrd = dlen_sqrd2 * xy_thresh
376
376
  featkw = ut.argparse_dict(vt.get_extract_features_default_params())
377
- fname1 = ut.get_argval('--fname1', type_=str, default='easy1.png')
378
- fname2 = ut.get_argval('--fname2', type_=str, default='easy2.png')
377
+ fname1 = ut.get_argval('--fname1', type_=str, default='tsukuba_l')
378
+ fname2 = ut.get_argval('--fname2', type_=str, default='tsukuba_r')
379
379
  (kpts1, kpts2, fm, fs, rchip1, rchip2) = demodata.testdata_ratio_matches(fname1, fname2, **featkw)
380
380
  aff_inliers, aff_errors, Aff = get_best_affine_inliers_(
381
381
  kpts1, kpts2, fm, fs, xy_thresh_sqrd, scale_thresh, ori_thresh)
@@ -958,8 +958,8 @@ def spatially_verify_kpts(kpts1, kpts2, fm,
958
958
  >>> from vtool_ibeis.spatial_verification import *
959
959
  >>> import vtool_ibeis.demodata as demodata
960
960
  >>> import vtool_ibeis as vt
961
- >>> fname1 = ut.get_argval('--fname1', type_=str, default='easy1.png')
962
- >>> fname2 = ut.get_argval('--fname2', type_=str, default='easy2.png')
961
+ >>> fname1 = ut.get_argval('--fname1', type_=str, default='tsukuba_r')
962
+ >>> fname2 = ut.get_argval('--fname2', type_=str, default='tsukuba_l')
963
963
  >>> default_dict = vt.get_extract_features_default_params()
964
964
  >>> default_dict['ratio_thresh'] = .625
965
965
  >>> kwargs = ut.argparse_dict(default_dict)
@@ -993,8 +993,6 @@ def spatially_verify_kpts(kpts1, kpts2, fm,
993
993
  >>> aff_tup = (aff_inliers, Aff)
994
994
  >>> pt.draw_sv.show_sv(rchip1, rchip2, kpts1, kpts2, fm, aff_tup=aff_tup, homog_tup=homog_tup, refine_method=refine_method)
995
995
  >>> pt.show_if_requested()
996
- tuple(numpy.ndarray, tuple(numpy.ndarray*3), numpy.ndarray, numpy.ndarray, tuple(numpy.ndarray*3), numpy.ndarray)
997
-
998
996
  """
999
997
  if len(fm) == 0:
1000
998
  if VERBOSE_SVER: