16 lines
393 B
Java
16 lines
393 B
Java
import static org.junit.jupiter.api.Assertions.*;
|
|
|
|
import java.awt.AWTException;
|
|
|
|
import org.junit.jupiter.api.Test;
|
|
|
|
class ObjectDetectorTest {
|
|
|
|
@Test
|
|
void testObjectDetection() throws AWTException {
|
|
ObjectDetector objectDetector = new ObjectDetector();
|
|
ArrayList<DetectedObject> detectedObjects1 = objectDetector.getObjectsInImage(loadimages here in bufferedimage format));
|
|
|
|
}va
|
|
}
|