From 49e5358dd252ec4e6092b3e856f302ebb0e8ddc1 Mon Sep 17 00:00:00 2001 From: James S Date: Wed, 15 Jun 2022 14:05:21 -0400 Subject: [PATCH] Added numpy library call and Background color The BG_COLOR variable was not defined and the numpy library were both referenced in the library but not defined in the sample code. --- docs/solutions/holistic.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/solutions/holistic.md b/docs/solutions/holistic.md index d0ab0b801..f3fce7488 100644 --- a/docs/solutions/holistic.md +++ b/docs/solutions/holistic.md @@ -252,10 +252,12 @@ Supported configuration options: ```python import cv2 +import numpy as np import mediapipe as mp mp_drawing = mp.solutions.drawing_utils mp_drawing_styles = mp.solutions.drawing_styles mp_holistic = mp.solutions.holistic +BG_COLOR = (192, 192, 192) # gray # For static images: IMAGE_FILES = []