asweigart / pyscreeze

PyScreeze is a simple, cross-platform screenshot module for Python 2 and 3.
BSD 3-Clause "New" or "Revised" License
194 stars 96 forks source link

Better error message when using 'confidence' without cv2 installed: match signatures for internal functions #66

Open socal-nerdtastic opened 3 years ago

socal-nerdtastic commented 3 years ago

In helping people use this module it often comes up that a user tries to use the confidence argument and receives an unhelpful TypeError when cv2 is not installed. For example, from today. This PR adds a more helpful error message.

Avasam commented 3 months ago

@socal-nerdtastic This now has conflicts