I am using OpenCV in Python3.X to capture a single frame from the “Arducam 8MP 1080P USB Camera V2 Module” - so I am unconcerned about the frame rate. However, seemingly I am unable to configure the part to achieve the 3264 x 2448 resolution. I am only able to set it to 1920 x 1080. Is there something I am missing? If possible, some example code illustrating how to configure the part would be appreciated.
I can handle any output format, and any readout rate.
Specifically I am using OpenCV (2.4.11) in Python 3.7. I wrote a small bit of code to find the camera ID with the maximum number of pixels, and what that maximum is. I will note that even if I set the resolution directly to to the correct value (3264 x 2448) it only goes to 1920 x 1080.
My code snip - the output of which is 1920 pixels.
import cv2 as cv2 # For openCV functions
def findCamera():
Windows only for now
possibleCameraIDs = [0,1,2,3]
maxSizes = []
maxFRAME_WIDTH = -1
CameraID = -1
for testID in possibleCameraIDs:
camera = cv2.VideoCapture(testID)
camera.set(cv2.CAP_PROP_FRAME_WIDTH, 10000) # set width to unrealistically high value
currentWidth = camera.get(cv2.CAP_PROP_FRAME_WIDTH) # now check what value is really used
tmp2 = camera.get(cv2.CAP_PROP_FRAME_HEIGHT)
The sensor does not support 1920x2448 resolution. I don’t understand why do you need this resolution. Would you like to describe me more detail information.