mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Update Haar unit test.
This commit is contained in:
parent
ef3b058842
commit
4d409d57f3
@ -1,7 +1,7 @@
|
||||
def unittest(data_path, temp_path):
|
||||
import image
|
||||
# Load Haar Cascade
|
||||
cascade = image.HaarCascade("/"+data_path+"/frontalface.cascade")
|
||||
cascade = image.HaarCascade(data_path+"/frontalface.cascade")
|
||||
|
||||
# Load image and find keypoints
|
||||
img = image.Image(data_path+"/dennis.pgm", copy_to_fb=True)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user