推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
sxbug01
V2EX  ›  Python

想在照片中把一个切了部分的圆,标记出来,并且计算这个切边的圆的旋转角度和它在照片中的位置信息,请问有什么好办法?

  •  
  •   sxbug01 · Jan 7, 2021 · 2126 views
    This topic created in 2089 days ago, the information mentioned may be changed or developed.
    模板比较简单:一个圆,切了一部分,切除的部分平行与照片的底部(打算用 PS 画一下,白底黑线)
    被检测的照片比较复杂,现场照的零件的照片。照片上有一个与模板类似的加工的孔。
    目的:想在照片中,找到这个形状,标记这个形状在照片中的旋转与平移信息(以模板形状的中心为参考)。
    用 opencv 的 flnn 、sift 均有问题。请问有什么好的办法?
    谢谢
    1 replies  •  2021-01-09 14:46:23 +08:00
    sxbug01
        1
    sxbug01  
    OP
       Jan 9, 2021
    我将照片弄了一个形态学滤波,再做 特征点匹配,这样可否好些?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3663 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 04:13 · PVG 12:13 · LAX 21:13 · JFK 00:13
    ♥ Do have faith in what you're doing.