Skip to content

Commit

Permalink
Update image file paths in score calculation script
Browse files Browse the repository at this point in the history
  • Loading branch information
k-taro56 committed Mar 27, 2024
1 parent 41e8660 commit 8f79b10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .score-calculation/calculate.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from skimage.metrics import structural_similarity as ssim
import cv2

expect = cv2.imread('../question/img/except.png.png')
answer = cv2.imread('../app/build/outputs/roborazzi/com.github.nidroid.uiperfectcopycontesttest.ExampleUnitTest.yourAnswerTest.png')
expect = cv2.imread('./question/img/except.png.png')
answer = cv2.imread('./app/build/outputs/roborazzi/com.github.nidroid.uiperfectcopycontesttest.ExampleUnitTest.yourAnswerTest.png')

msssim_value = ssim(expect, answer, multichannel=True)

Expand Down

0 comments on commit 8f79b10

Please sign in to comment.