Package detect.api.models

Examples of detect.api.models.Region


    int tlx = Integer.valueOf(attr.getNamedItem("top_left_x").getNodeValue());
    int tly = Integer.valueOf(attr.getNamedItem("top_left_y").getNodeValue());
    int brx = Integer.valueOf(attr.getNamedItem("bottom_right_x").getNodeValue());
    int bry = Integer.valueOf(attr.getNamedItem("bottom_right_y").getNodeValue());

    Region r = new Region();
    r.setTlx(tlx);
    r.setTly(tly);
    r.setBrx(brx);
    r.setBry(bry);

    return r;
  }
View Full Code Here

TOP

Related Classes of detect.api.models.Region

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.