Package detection.javacv

Examples of detection.javacv.Detect


        } else if(e.getActionCommand().equalsIgnoreCase(exitButton.getText())) {
            System.exit(0);
        } else if(e.getActionCommand().equalsIgnoreCase(detectButton.getText())) {
            if (choosenFile!=null && !choosenFile.isEmpty() &&
                    getDetectionXmlFile()!=null && !getDetectionXmlFile().isEmpty()) {
                Detect facesDetect = new Detect();
                ImageIcon image = facesDetect.detectionExecute(choosenFile, getDetectionXmlFile());
                setDetected(image);
                info.setText("resultado: " + facesDetect.getDetectionResult() +
                        " ocorrencia(s) detectada(s)");
                info.append("\n" + "arquivo de cascata: " + getDetectionXmlFile());
                info.append("\n" + "arquivo escolhido: " + choosenFile);
                info.append("\n" + image.getDescription());
            } else {
View Full Code Here

TOP

Related Classes of detection.javacv.Detect

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.