mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-20 00:51:41 +00:00
Fix image rotation in test mode (#144)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user