报错语句eye_cascade = image.HaarCascade(“eye”, stages=24)
Hi, which firmware version and board type are you using?
固件版本为 4.6.20
板子为 H7 plus
而且我用自己的模型,它说路径无效,我写了具体的路径地址
Hi, on our latest firmware the H7 Plus only enables the face haar cascade to save firmware space. You need to uncomment openmv/src/omv/boards/OPENMV4P/imlib_config.h at master · openmv/openmv and rebuild or use the RT1062.
As for using your own cascade, this is hard to do. It would have to be run through this tool: openmv/tools/haar2c.py at master · openmv/openmv
你可以具体说一下怎么重建吗,我是新手,或者要在哪个文件动手,还是要添加文件
openmv/src at master · openmv/openmv
There’s a docket build too: openmv/docker at master · openmv/openmv
Note that we do not provide help support for modifying the firmware. It’s expected that you can solve how to do things.
那你可以说一下在哪添加自己的模型吗
Hi, it can be loaded from disk once it’s run through that reformater.
Hello, could you provide the deleted eye. cascade file in the firmware. Then I put it into the sd card space of openmv, and then load the file from the sd card to realize the routine of Iris detection. Is that possible?
haarcascade_all.zip (45.2 KB)
Attached
Thank you very much!