Last active
December 17, 2019 04:46
-
-
Save stevenjlm/721b7d67c5e9bc31f416a6b303e91e4a to your computer and use it in GitHub Desktop.
mini-vision contrast
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mean_s = np.mean(system.hsv[:,:,2]) | |
| std_s = np.std(system.hsv[:,:,2]) | |
| log.info("Mean and std value %f, %f" % (mean_s, std_s)) | |
| if std_s > 80.0: | |
| system.full_caption += system.tools.cv_comms['new-contrast'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment