From: Phil Howard Date: Wed, 16 Oct 2019 09:42:21 +0000 (+0100) Subject: Fix noise-profile example X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/commitdiff_plain/504b0f7f30384243a55d2620dba68eadb93b4472?hp=-c Fix noise-profile example --- 504b0f7f30384243a55d2620dba68eadb93b4472 diff --git a/examples/noise-profile.py b/examples/noise-profile.py index 964dead..1afdff5 100755 --- a/examples/noise-profile.py +++ b/examples/noise-profile.py @@ -26,7 +26,7 @@ draw = ImageDraw.Draw(img) while True: - low, mid, high, amp = noise.measure() + low, mid, high, amp = noise.get_noise_profile() low *= 128 mid *= 128 high *= 128