Open qeroll opened 1 year ago
This is the gstreamer plugin for pylon issue tracker ... but from the code you posted nothing wrong is visible.... The interesting part would be in the code where you get the GrabResults from the camera and detect your "identical lines"
What are the "concurrent frames" you mention? You mention only one camera, so there will only be sequential frames coming out of this camera.
For the C++ interface side of it, you should always use the standard Basler support channel: https://www.baslerweb.com/en/sales-support/support-contact/
Camera: acA1440-220um OS: Ubuntu 20.04 Interface: C++ library
Hi,
Not sure if this is the right place to post this question but I figured someone here could offer some assistance.
I am using the C++ API to grab frames from the said pylon camera in 1440x1080@200FPS. When I go over the data, I see that there multiple cases where there are identical lines between concurrent frames.
I was wondering if it might be a wrong configuration on my part. Here is the init code I wrote:
void FrameCapture::start_pylon_camera(camera_params_t camera_params) { std::cout << "Using device " << m_camera.GetDeviceInfo().GetModelName() << std::endl;
m_camera.Open(); m_camera.MaxNumBuffer = 2000;
// Enable chunks in general. if (!m_camera.ChunkModeActive.TrySetValue(true)) { throw std::runtime_error("The camera doesn't support chunk features"); }
// Enable time stamp chunks. m_camera.ChunkSelector.SetValue(Basler_UniversalCameraParams::ChunkSelector_Timestamp); m_camera.ChunkEnable.SetValue(true);
GenApi::INodeMap[and] nodemap = m_camera.GetNodeMap(); Pylon::CIntegerParameter(nodemap, "Width").SetValue(m_camera_params.width); Pylon::CIntegerParameter(nodemap, "Height").SetValue(m_camera_params.height); Pylon::CEnumParameter(nodemap, "ExposureTimeMode").SetValue("Standard"); Pylon::CFloatParameter(nodemap, "ExposureTime").SetValue(camera_params.exposure); Pylon::CFloatParameter(nodemap, "Gain").SetValue(camera_params.gain); Pylon::CBooleanParameter(nodemap, "AcquisitionFrameRateEnable").SetValue(true); Pylon::CFloatParameter(nodemap, "AcquisitionFrameRate").SetValue(camera_params.fps); Pylon::CEnumParameter(nodemap, "AcquisitionMode").SetValue("Continuous"); Pylon::CEnumParameter(nodemap, "TriggerSelector").SetValue("FrameStart"); Pylon::CEnumParameter(nodemap, "TriggerMode").SetValue("Off"); Pylon::CEnumParameter(nodemap, "TriggerSource").SetValue("Line1"); Pylon::CCommandParameter(nodemap, "AcquisitionStart").Execute();
m_camera.StartGrabbing(); }