Skip to content

Commit

Permalink
Corrected the model
Browse files Browse the repository at this point in the history
  • Loading branch information
plassalas committed Jul 13, 2017
1 parent f2ba64e commit 694de2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -31,11 +31,11 @@ public class ZoneGeneric implements Generic {
public static class ZoneInstance implements Generic {

public DocClassInstance getDocClass() {
return (DocClassInstance) this.getHolder(getRoot().find(DocClass.class));
return (DocClassInstance) getHolder(getRoot().find(DocClass.class));
}

public Zone getZoneObject(){
int num = (int) getHolder(getRoot().find(ZoneGeneric.class)).getValue();
int num = (int) getValue();
int x = (int) getHolder(getRoot().find(ZoneX.class)).getValue();
int y = (int) getHolder(getRoot().find(ZoneY.class)).getValue();
int width = (int) getHolder(getRoot().find(ZoneW.class)).getValue();
Expand Down
Expand Up @@ -47,7 +47,7 @@ public static void main(String[] args) {
vertx.deployVerticle(new AbstractVerticle() {
@Override
public void start() throws Exception {
Path imagePath = Paths.get(System.getProperty("user.dir") + "/../gs-cv/classes/id-fr-front/image5-0.png");
Path imagePath = Paths.get(System.getProperty("user.dir") + "/../gs-cv/classes/id-fr-front/image4-0.png");
vertx.eventBus().publish(VerticleDeployer.ACCURATE_ZONES_FOUND, imagePath.toString());
}
} , res -> {
Expand Down

0 comments on commit 694de2f

Please sign in to comment.