Here is an example code to load a pre-trained YOLOv2 network in MATLAB for object detection:
main.m804 chars29 lines
You can replace the inputSize, inputPath, and image name with your own. You can download the pre-trained yolov2ResNet50VehicleExample.mat and use it to load and detect objects in a test image.
gistlibby LogSnag