Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PylonCapture lags when combined with PredictPose(DLC) #16

Open
kvnlxm opened this issue Jun 1, 2022 · 3 comments
Open

PylonCapture lags when combined with PredictPose(DLC) #16

kvnlxm opened this issue Jun 1, 2022 · 3 comments

Comments

@kvnlxm
Copy link

kvnlxm commented Jun 1, 2022

Hi,

we are currently experiencing an issue with the PredictPose(DLC) node for real-time tracking of DLC marker (Previously DetectPose(DLC)) when combined with the PylonCapture(Pylon) node. The image output lags about 7 seconds and hence, real time pose-estimation is not possible. In Figure 1 PylonCapture(Pylon) works in real time (without PredicPose(DLC), while in the setting of Figure 2 it lags. Note that we already tried to remove the conversion node, which does not cause the problem.

We also used the CameraCapture(Vision) node (or VideoCaptureDevice(Vision) node), which works in real-time combined with PredictPose(DLC), but we cannot retrieve the pylon camera features settings, which is important.

Does anyone face the same problem and is there already a work around. My guess is that there is some sort of bug within the PylonCapture(Pylon)node and maybe someone from the Bonsai Team can help with that.

Cheers,
Kevin

Bonsai_real_time
Figure 1: PylonCapture works in real-time
Bonsai_lag_time
Figure 2: PylonCapture lags about 7 seconds

@kvnlxm
Copy link
Author

kvnlxm commented Jun 13, 2022

While I am still unsure why this problem exist with the PylonCapture(Pylon) method, we empirically found out that after a certain amount of time (about 4 minutes with our Pylon settings), the camera feed was finally live. This is good for us at the moment, but I still would like to know why there is such a difference between CamareCapture(Vision) and PylonCapture(Pylon) .. Or is there a way to retrieve the Pylon features for the camera also with the CamareCapture(Vision) method?

Thanks,
Kevin

@trose-neuro
Copy link

Hi all! Following up on this: Have there been any developments? Currently with the latest Pylon, PylonCapture node, Bonsai version, DLC live install this is still the case and therefore hardly usable...

Best
Tobias

@trose-neuro
Copy link

To follow up on this: Turns out this indeed was a simple GPU load issue. Binning on the camera solved this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants