Open MaximilianCoenen opened 1 year ago
Hello, this is most likely an issue with the Vimba installation and/or driver. Can you check how the camera behaves when you open it with Vimba Viewer? That would exclude the code and the Python API as error sources, to narrow down the suspects. Edit: Just to add, the error will most likely need a reinstallation of parts of Vimba or the whole SDK. Also make sure, that no older Vimba versions are on the PC. If the camera streams just fine in Vimba Viewer, then the drivers, transport layer and the underlying C-API can be assumed to be installed correctly. In that case, at least the Python API should be reinstalled.
When running the following example code:
import cv2 as cv from vmbpy import * with VmbSystem.get_instance () as vmb: cams = vmb.get_all_cameras () with cams [0] as cam: frame = cam.get_frame () frame.convert_pixel_format(PixelFormat.Mono8) cv.imwrite('frame.jpg', frame.as_opencv_image ())
I receive the error "VmbCError: VmbCError(<VmbError.InternalFault: -1>)" appearing when executing the line "with cams [0] as cam:"
Can you provide any help how to fix this error?