If an OzCamera object is added to the program,
this method can run on it. It is used to get the height of the video stream in pixels.
height : Type: number. The height of the camera display in pixels.
Method usage example
In this example we will change the height of the video stream to 240 if it
is bigger then 240 (Code example 1).
//constructor of the myCam object, the default camera is used
var myCam = OzCamera.getCameraByName();
if(myCam.getHeight()>240) //if height is bigger then 240 pixels
myCam.setMode(myCam.getWidth(), 240, myCam.getFps()); //sets height to 240 pixels
Code example 1 - getHeight() method example
The project was established
with the European Union
subsidized by the European
Regional Development Fund