commit 22/05/2025
This commit is contained in:
@@ -7,15 +7,13 @@ import org.opencv.core.Size;
|
|||||||
import org.opencv.dnn.Dnn;
|
import org.opencv.dnn.Dnn;
|
||||||
import org.opencv.dnn.Net;
|
import org.opencv.dnn.Net;
|
||||||
|
|
||||||
import java.nio.file.Files;
|
|
||||||
import java.nio.file.Paths;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
|
|
||||||
@SuppressWarnings("FieldCanBeLocal")
|
@SuppressWarnings("FieldCanBeLocal")
|
||||||
public class YoloDetector {
|
public class YoloDetector {
|
||||||
|
|
||||||
private List<String> classNames = null;
|
private List<String> classNames;
|
||||||
private Net net = null;
|
private Net net = null;
|
||||||
private boolean loaded = false;
|
private boolean loaded = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user