From d575011d61c8e6850ad3346bc8d7262c1c40a052 Mon Sep 17 00:00:00 2001 From: Giulio Gabrieli Date: Wed, 11 Sep 2024 18:49:42 +0200 Subject: [PATCH] fixed bug in fast analysis, changed data folder --- pyaesthetics/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyaesthetics/utils.py b/pyaesthetics/utils.py index 4e312b9..bd20dfb 100644 --- a/pyaesthetics/utils.py +++ b/pyaesthetics/utils.py @@ -154,9 +154,9 @@ def runtest(): """ basepath = os.path.dirname(os.path.realpath(__file__)) # Path to a sample image for debugging # Set the data path to use sample images - datafolder = basepath + "/../share/data/" + datafolder = basepath + "/data/" # Path to a sample image - sampleImg = datafolder + "test.png" + sampleImg = datafolder + "face1.png" # Analyze the sample image using the 'complete' method print('Running test') analysis.analyze_image(sampleImg, method='complete')