![]() ![]() Allocate image buffer (we are going to capture 24bit RGB images) IPS3EyeLib *pCam = IPS3EyeLib :: Create () įor( int i = 0 i SetFormat ( IPS3EyeLib :: GetFormatIndex ( 320, 240, 30 )) Here is the example of PS3EyeLib usage in you application: Static int GetFormatIndex ( int width, int height, int rate ) Static int GetFormatIndex ( int width, int height, LONGLONG period ) Virtual void DumpRAM ( LPCTSTR filename ) = 0 Virtual void DumpEEPROM ( LPCTSTR filename ) = 0 Virtual void SetFormat ( int formatIdx ) = 0 īool GetFrame ( PBYTE buf, int bitsPerPixel, bool flip )
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |