4

I am using my pi for video processing. The data transformations include image array manipulations and object detection.

It does not include any video display. Essentially, the pi takes in a video stream, counts objects it discovers in it, and then returns the counts to a server (as numbers).

I would like to put the gpu memory as low as possible because I only ssh into it. If I do that, will I be affecting video capture speed or my ability to do video/image processing?

1
  • I dont know what opencv use (CPU or GPU), but you can look at how much memory your system uses with free -m, top,htop to see if you need more. You could tried setting the split to the absolute minimum (to see what happens!)
    – Wilf
    Commented May 25, 2018 at 19:54

1 Answer 1

1

OpenCV does not use GPU acceleration on the Raspberry Pi platform. You can set GPU memory as low as 16 MB (you will lose 3D and video acceleration globally and the official CSI camera won't work).

2
  • the camera won't work at all if I put the gpu memory at 16 MB? Does that mean that if I increase the gpu memory it can capture at higher rez/framerate? Commented May 28, 2018 at 16:30
  • More than 192 MB GPU RAM seems to have no effect on performance of the camera or HW video decoders and encoders. I think.
    – flakeshake
    Commented May 29, 2018 at 8:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.