Package org.openpnp.spi

Examples of org.openpnp.spi.VisionProvider


    // Settle the camera
    // TODO: This should be configurable, or maybe just built into
    // the VisionProvider
    Thread.sleep(500);
   
    VisionProvider visionProvider = camera.getVisionProvider();
   
    Rectangle aoi = vision.getAreaOfInterest();
   
    // Perform the template match
    logger.debug("Perform template match.");
    Point[] matchingPoints = visionProvider.locateTemplateMatches(
        aoi.getX(),
        aoi.getY(),
        aoi.getWidth(),
        aoi.getHeight(),
        0,
View Full Code Here


                        cameraSpecificConfigWizard.setWizardContainer(CamerasPanel.this);
                        JPanel panel = cameraSpecificConfigWizard.getWizardPanel();
                        cameraSpecificConfigPanel.add(panel);
                    }
                   
                    VisionProvider visionProvider = camera.getVisionProvider();
                    if (visionProvider != null) {
                        Wizard visionProviderConfigWizard = visionProvider.getConfigurationWizard();
                        if (visionProviderConfigWizard != null) {
                            visionProviderConfigWizard.setWizardContainer(CamerasPanel.this);
                            JPanel panel = visionProviderConfigWizard.getWizardPanel();
                            visionProviderConfigPanel.add(panel);
                        }
View Full Code Here

    // Settle the camera
    // TODO: This should be configurable, or maybe just built into
    // the VisionProvider
    Thread.sleep(200);
   
    VisionProvider visionProvider = camera.getVisionProvider();
   
    Rectangle aoi = getVision().getAreaOfInterest();
   
    // Perform the template match
    logger.debug("Perform template match.");
    Point[] matchingPoints = visionProvider.locateTemplateMatches(
        aoi.getX(),
        aoi.getY(),
        aoi.getWidth(),
        aoi.getHeight(),
        0,
View Full Code Here

TOP

Related Classes of org.openpnp.spi.VisionProvider

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.