08-14-2019, 05:28 PM
Hello!
I had spent a few hours making a simple script that records in video the image shown in a Robodk Camera.
Its simple to use, just paste the .py file in the Robodk´s script folder or in the new Robodk´s Apps folder -->C:\RoboDK\Apps\Camera_Recorder
Execute the program and it will be prompt you for a reference for the camera, in the next step the seconds you want to record... hit OK.
The output file will be saved in the desktop folder.
The only requisite is OPEN-CV https://pypi.org/project/opencv-python/
To install open-cv just type "pip install opencv-python" in your terminal.
The application uses the "RDK.Cam2D_Snapshot()" command, I noticed that this command in high frame captures is to slow and make the app uninestable.
It is a work in progress app, so it might not be 100% OK.
Thank you!!!
I had spent a few hours making a simple script that records in video the image shown in a Robodk Camera.
Its simple to use, just paste the .py file in the Robodk´s script folder or in the new Robodk´s Apps folder -->C:\RoboDK\Apps\Camera_Recorder
Execute the program and it will be prompt you for a reference for the camera, in the next step the seconds you want to record... hit OK.
The output file will be saved in the desktop folder.
The only requisite is OPEN-CV https://pypi.org/project/opencv-python/
To install open-cv just type "pip install opencv-python" in your terminal.
The application uses the "RDK.Cam2D_Snapshot()" command, I noticed that this command in high frame captures is to slow and make the app uninestable.
It is a work in progress app, so it might not be 100% OK.
Thank you!!!