Fixed problem when rotating camera with stream divisor

This commit is contained in:
Omer
2019-12-09 01:56:09 +02:00
parent b69806b799
commit c15e342b5d

View File

@@ -152,6 +152,7 @@ public class SocketHandler {
new VideoMode(prop.mode.pixelFormat, width, height, prop.mode.fps), prop.fov));
}
prop = currentCamera.getProperties().getStaticProperties();
currentProcess.cameraStreamer.recalculateDivision();
if (currentPipeline instanceof CVPipeline2d)
((CVPipeline2d) currentPipeline).settings.point = Arrays.asList(prop.mode.width / 2, prop.mode.height / 2);//Reset Crosshair in single point calib
break;