🎉 Another version!
Important changes
- ✨ The method
draw
of the classSelectorCV2
now supports a new optional parameter calledcoordinates
. If you pass a touple of coordinates into it (with(x,y)
format), it will only paint the tags of the selections that contain those coordinates. If you don't use this param or use with(-1,-1)
it will draw all the tags (as always). It is useful for example if we only want to show tags when mouse is on a selection. (See examplemouse_track.py
) #51 - 🐛 Solved bug sometimes checking the FPS #55
- 🔧 Now it doesn't print warnings until you explicitly demand it (changing
Utils.IGNORE_ERRORS
toFalse
) #59 - ✨ Now it is possible to add free tags (without any selection). Have in mind that it is not affected by the new featured (draw with coordinates) because it has no selection. You can use it with
selector.add_free_tags(coordinates, tags)
, and draw as always. #49
Thats all for now, but we are working on much more, so stay tuned.