HSV跟踪器
Tracker-HSV的Python项目详细描述
HSV型号的跟踪器
手动输入hsv模型的值可能非常令人沮丧。最简单的方法是制作一个基于opencv的轨迹栏,允许我们使用轨迹栏手动调整值。因此,借助此功能,我们可以一次性调整不同值的组合
文档
让我们来看看,
deftracker(filename)
- file_name : This is everything this function need, you can pass a full path of file or a variable in which image is stored, it can work in both ways,
此程序返回
returnlower_hue,lower_sat,lower_val,upperhue,upper_sat,upper_val
- lower_hue, lower_sat, lower_val: : As the name suggests, its a lower value of Hue, Saturation, Value(Brightness)
- upper_hue, upper_sat, upper_val: : Similarly, its an upper value of Hue, Saturation, Value(Brightness).
如果您需要任何帮助,只需键入
importTracker_HSVastrtr.help()
#For full code Explanation, please visit #https://py2py.com/Tracker-for-HSV-model-Overview-and-Explanation#Github: https://github.com/Pushkar-Singh-14/Tracker_HSV#PyPI: https://pypi.org/project/Tracker-HSV/