1 | initial version |
your cascade xml file did not load. please try to replace the
Computer.class.getResource("haarcascade_frontalface_alt.xml").getPath().substring(1)
part with an absolute path like
c:\opencv\data\haarcascades\haarcascade_frontalface_alt.xml
2 | No.2 Revision |
your cascade xml file did not load. please try to replace the
Computer.class.getResource("haarcascade_frontalface_alt.xml").getPath().substring(1)
Computer.class.getResource("haarcascade_frontalface_alt.xml").getPath().substring(1)
part with an absolute path like
c:\opencv\data\haarcascades\haarcascade_frontalface_alt.xml