All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vision4j.detection.DetectionResult Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
package com.vision4j.detection;

import com.vision4j.utils.Category;

import java.util.HashMap;

public class DetectionResult extends HashMap {

    public static class BoundingBox {
        private int left;
        private int top;
        private int right;
        private int bottom;

        public BoundingBox(int left, int top, int right, int bottom) {
            this.left = left;
            this.top = top;
            this.right = right;
            this.bottom = bottom;
        }

        public int getLeft() {
            return left;
        }

        public int getTop() {
            return top;
        }

        public int getRight() {
            return right;
        }

        public int getBottom() {
            return bottom;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy