Category : picamera

I am trying to import pytorch on the Nvidia Jetson Nano 2 and I am facing the following issue. The version of pytorch that I am using is 1.10.0 with torchvision 0.11.1 and torchtext 0.6.0 (if that is relevant) I have tried the following: Changing the order of the imports export $LD_PRELOAD=’/home/msc/.local/lib/python3.6/site-packages/torch/lib/libgomp-d22c30c5.so.1′ followed by source ..

Read more

I’ve tried many tutorials and installation to use the rapsberry 4 picamera with Python I’m using Picamera library and everytime I use this simple script or any picamera script to try the camera I got this error message: mmal: mmal_component_create_core: could not find component ‘vc.camera_info’ Traceback (most recent call last): File "/home/pi/Desktop/ex.py", line 6, in ..

Read more

I’m trying to capture images with my RaspiCam v2. I have a very specific setup and specified all camera parameters that i need to get a good image quality. I figured them out using a separate python script caputring the image with following line: camera.capture(‘filename.jpg’). In my actual program i want to capture the image ..

Read more

i have a working picamera on my raspberry, i would see it into a tkinter’s window using python 3. following my code: from picamera import PiCamera import RPi.GPIO as GPIO from time import sleep CAM=PiCamera() CAM.rotation=180 CAM.resolution=(1920,1080) CAM.framerate=15 CAM.start_preview() CAM.preview.fullscreen=False CAM.preview.window=(0,0,300,300) GPIO.setmode(GPIO.BCM) GPIO.setup(18,GPIO.OUT) S=GPIO.PWM(18,50) S.start(10) time.sleep(1) GPIO.cleanup() GPIO.setmode(GPIO.BCM) GPIO.setup(4,GPIO.IN) Source: Python..

Read more