View Single Post
  #3   Spotlight this post!  
Unread 17-02-2016, 19:35
SteveWozniakek SteveWozniakek is offline
Registered User
FRC #1369
 
Join Date: Feb 2016
Location: Tampa
Posts: 3
SteveWozniakek is an unknown quantity at this point
Re: Flipping an image in NIVision

Your code is good but center axis needs to be vertical axis( I lied your knit cam wrong here's a snippet)
Quote:
camCenter = NIVision.IMAQdxOpenCamera("cam1", NIVision.IMAQdxCameraControlMode.CameraControlMode Controller);
camRight = NIVision.IMAQdxOpenCamera("cam0", NIVision.IMAQdxCameraControlMode.CameraControlMode Controller);
curCam = camCenter;
camera = "center";
// Img that will contain camera img
frame = NIVision.imaqCreateImage(NIVision.ImageType.IMAGE_ RGB, 0);
// Server that we'll give the img to
server = CameraServer.getInstance();
server.setQuality(50);
server.setSize(666);

Last edited by SteveWozniakek : 17-02-2016 at 19:38.
Reply With Quote