Skip to content

Instantly share code, notes, and snippets.

View liweigu's full-sized avatar

liweigu liweigu

View GitHub Profile
@saudet
saudet / RedBloodCellDetection.java
Last active March 2, 2024 17:14
Example of object detection with DL4J on images of red blood cells
package org.deeplearning4j.examples.convolution.objectdetection;
import java.io.File;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import org.bytedeco.javacv.CanvasFrame;
import org.bytedeco.javacv.OpenCVFrameConverter;