Skip to main content

SDK: frame data access

To access frame you need to set up a NITObserver that you will connect directly to your NITDevice. The NITObserver will receive every valid frame that is outputted by the camera. This class has a function “onNewFrame” that is called every time a frame is received. This function allows access to a NITFrame object and its member data(). You simply have to put your own code in this function to copy the data from the frames.

There is an example on how to proceed in our sample code package (uint_Conversion example):

NITSoftware sample codes