def get_upper_trackbar( self, window ):
hh = cv2.getTrackbarPos('H_Max',window)
sh = cv2.getTrackbarPos('S_Max',window)
vh = cv2.getTrackbarPos('V_Max',window)
return [ hh, sh, vh ]
# Gets the value of the lower HSV values from the trackbar
# Usage: self.get_lower_trackbar( "window_name" )
# Returns numpy array: np.array( [ h, s, v ] )
saber_track.py 文件源码
python
阅读 28
收藏 0
点赞 0
评论 0
评论列表
文章目录