1 | initial version |
your cascade file was not loaded properly.
try to replace:
getClass().getResource("/haarcascade_frontalface_alt.xml").getPath()
witth the absolute path to thecascade file. most probably you need to do the same for the image.
2 | No.2 Revision |
your cascade file was not loaded properly.
try to replace:
getClass().getResource("/haarcascade_frontalface_alt.xml").getPath()
witth with the absolute path to thecascade file. most probably you need to do the same for the image.