Image conversion - Grab video at best quality

possibilities:

  • Basler camera can convert before passing to host. downside: USB/GigE bandwidth is limited.
  • Basler driver can convert before passing to application. potentially they have specifically optimized code for that.
  • OpenCV can convert (cvtColor) on CPU.
  • OpenCV can convert (cvtColor) on GPU using OpenCL
  • OpenCV can convert (cuda::cvtColor) on GPU using CUDA

the GPU options have all the usual caveats, namely that communicating with the GPU costs time (latency), so you have to know what you’re doing, or else it’s gonna be slower than using the CPU.

your best course of action is getting advice from Basler.