I am new here and this happens to be my first post so Ill dive straight in. I am new to C and C++ and have very little programming experience, however I am surrounded by it all the time and understand alot of syntax. That being said I have not really written any myself.
On to my inquiry, I am attempting to do something that in my mind seems very simple because a lot of the leg work has been done. I know the raspberry pi camera has pre-built C code for capturing stills (raw and encoded) and video via bash commands within terminal, and have used them extensively. However, I would like to write a C++ script that captures a still image and stores it to an image buffer at some memory location. The goal is my company has a proprietary image processing thread that we would like to feed 1-d array image data into. I know that this is possible because people do it with open CV alot but I am wondering what the most straight forward and fastest capture method would be using a C++ script?
I have some experience using MS Visual studio and active-x controls to do this very thing but in linux it seems different to me...but I am sure its not...Forgive my ignorance. Ill do you the pleasure of not posting any code as none of what I have built works at all..and I was hoping for some insight in order to get myself to a point where I can ask an intelligent question.