Search found 4 matches

by nirvik
Sun Aug 08, 2021 7:27 am
Forum: Camera SDK
Topic: Save camera's image into a bitmap file(in local folder)
Replies: 1
Views: 4392

Re: Save camera's image into a bitmap file(in local folder)

Thanks a lot for this code! Was really helpful for my project. For completeness, I would like to add that to be able to use the glReadPixels function we need to:

Code: Select all

 #define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
by nirvik
Sun Aug 08, 2021 5:48 am
Forum: Camera SDK
Topic: Synchronizer does not get any framegroups beyond 30 frames groups
Replies: 1
Views: 3708

Synchronizer does not get any framegroups beyond 30 frames groups

Hi, I am trying to use Camera SDK to get synchronized MJPEG videos from 3 Prime 13, 1 Prime Color and 1 eSync2 devices. However, using the synchronizer module I am not able to get framegroups after 30 or so groups, the GetFrameGroups() function does not return frame groups any more. Can anyone help ...
by nirvik
Sun Aug 08, 2021 4:50 am
Forum: Camera SDK Code Samples
Topic: Stack error while running code samples
Replies: 2
Views: 4127

Re: Stack error while running code samples

Apparently using a pointer to the cameralist instead somehow removes the error, not sure why though: CameraList* list = new CameraList; printf("Available cameras and/or other hardware:\n"); int cameraCount = list->Count(); for (int i = 0; i < cameraCount; i++) { printf("Camera %d : %s...
by nirvik
Thu Aug 05, 2021 10:39 am
Forum: Camera SDK Code Samples
Topic: Stack error while running code samples
Replies: 2
Views: 4127

Stack error while running code samples

I am trying to use the camera SDK sample Visual Cpp codes with Optitrack prime cameras. While running the simpleCameraTest.cpp project, the cameras are listed as expected but at the end of the main function the debugger pops up the following error: Run-Time Check Failure #2 - Stack around the variab...