ivport-v2
ivport-v2 copied to clipboard
test code not working
hello i recently bought the ivport V2 dual and everything works up untill the part where i try to run the code to test the cameras. the module is detected supported 1 detected 1 and everything but when i try to run the code import ivport
raspistill capture
def capture(camera): "This system command for raspistill capture" cmd = "raspistill -t 10 -o still_CAM%d.jpg" % camera os.system(cmd)
iv = ivport.IVPort(ivport.TYPE_DUAL2)
iv.camera_change(1)
capture(1)
iv.camera_change(2)
capture(2)
iv.close()
it says no module named ivport im using a raspberry pi model 3 B+ with two cameras that are V2.1 witht the device gpio pins inserted farthest away form the usb ports first i try thepreview camera and one shows but again the code is not working any ideas why also im usiong python shell 3.5.3 also python test_ivport.py
mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
Traceback (most recent call last):
File "test_ivport.py", line 60, in