View Single Post
  #6   Spotlight this post!  
Unread 02-17-2016, 07:35 PM
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 : 02-17-2016 at 07:38 PM.
Reply With Quote