Update stitching_detailed.py
### Critical bugs fixed: - `seam_finder.find()` returns None and overwrites `masks_warped` - `indices` is only 1-dimensional ### Nice-to-have bugs fixed: - avoid invalid value in sqrt and subsequent runtime warning - avoid printing help string on each run (use argparse builtin behavior) ### New features: - added graphcut seam finder support ### Test Summary: Tested on Ubuntu 20.04 with python 3.8.10 and opencv-python-contrib 4.5.5.62
Showing
想要评论请 注册 或 登录