擅长:python、mysql、java
<p>我推荐使用OpenCV的grabcut算法。首先在前景和背景上画几条线,并一直这样做,直到你的前景与背景完全分离。这里包括:<a href="https://docs.opencv.org/trunk/d8/d83/tutorial_py_grabcut.html" rel="nofollow noreferrer">https://docs.opencv.org/trunk/d8/d83/tutorial_py_grabcut.html</a>
以及在这个视频中:<a href="https://www.youtube.com/watch?v=kAwxLTDDAwU" rel="nofollow noreferrer">https://www.youtube.com/watch?v=kAwxLTDDAwU</a></p>