I am using OpenCV + deep neural network for object detection. I am using python language.
I want to run the code on some embedded system platform (like Raspberry Pi for example). I want to know whether my code will run or not on the embedded system platform. Right now I am running the code on my laptop which has large memory.
I want to first know how much my code is consuming memory at run time. After that I will choose hardware containing sufficient RAM.
So how can I know the run time memory consumption of my python code? Any extra tips or opinions will also be appreciated.
EDIT: I am using Ubuntu Linux.