Skip to content

v2.2.2 cv2-tools

Latest
Compare
Choose a tag to compare
@fernaper fernaper released this 26 May 19:02
· 56 commits to master since this release
062068e

🎉 Another version!

Important changes

  • ✨ The method draw of the class SelectorCV2 now supports a new optional parameter called coordinates. 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 example mouse_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 to False) #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.