Skip to content

Commit

Permalink
fixed bug in fast analysis, changed data folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabrock94 committed Sep 11, 2024
1 parent 5fe6569 commit d575011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyaesthetics/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit d575011

Please sign in to comment.