mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 03:02:44 +08:00
24 lines
386 B
Java
24 lines
386 B
Java
package com.openalpr.jni;
|
|
|
|
|
|
import com.openalpr.jni.json.JSONObject;
|
|
|
|
public class AlprCoordinate {
|
|
private final int x;
|
|
private final int y;
|
|
|
|
AlprCoordinate(JSONObject coordinateObj)
|
|
{
|
|
x = coordinateObj.getInt("x");
|
|
y = coordinateObj.getInt("y");
|
|
}
|
|
|
|
public int getX() {
|
|
return x;
|
|
}
|
|
|
|
public int getY() {
|
|
return y;
|
|
}
|
|
}
|