Fix image rotation in test mode (#144)

This commit is contained in:
Matt
2020-10-19 10:26:11 -07:00
committed by GitHub
parent 866ce2197e
commit 869e4628ce

View File

@@ -107,9 +107,7 @@ public class FileFrameProvider implements FrameProvider {
@Override
public Frame get() {
if (outputFrame.image.getMat().empty()) {
originalFrame.copyTo(outputFrame);
}
originalFrame.copyTo(outputFrame);
// block to keep FPS at a defined rate
if (System.currentTimeMillis() - lastGetMillis < millisDelay) {