Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Problem  saving screenshots Windows OS

#1
Dear Team,I am trying to use a basic 2D camera and saving snapshot image using a python script, but getting the following error;

"Problem  saving screenshots ......".
 Camera i have used is SICK VSPP-5f2113
I have tried on Windows11 and Windows10 OS, but gives same error

Request your kind support, I am enclosing robodk file and screenshot of error too.


Attached Files Thumbnail(s)
   

.rdk   Example_Camera.rdk (Size: 2.58 MB / Downloads: 46)
#2
Have you tried the different methods shown on our documentation?
https://robodk.com/doc/en/PythonAPI/exam...ive-stream
#3
The file path looks incorrect. I recommend you to use forward slashes and properly enter the path of the image.

Example:
Code:
snapshot_file='C:/Users/user name/Pictures/p1.jpg'
#4
(12-13-2023, 10:44 AM)Albert Wrote: The file path looks incorrect. I recommend you to use forward slashes and properly enter the path of the image.

Example:
Code:
snapshot_file='C:/Users/user name/Pictures/p1.jpg'

Thanks Albert. It worked. Appreciate your support.

(12-06-2023, 06:32 PM)Alex Wrote: Have you tried the different methods shown on our documentation?
https://robodk.com/doc/en/PythonAPI/exam...ive-stream

Thanks Alex , this solution also worked.
  




Users browsing this thread:
1 Guest(s)