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?

  • 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 May 25 '18 at 19:54
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).

  • 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? – Connor McCormick May 28 '18 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 May 29 '18 at 8:09

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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