RuntimeError Capture Failed: -2

Discussion related to "under the hood" OpenMV topics.
Posts: 33
Joined: Fri Aug 07, 2020 7:26 pm

RuntimeError Capture Failed: -2

Postby ajacobs » Tue Sep 15, 2020 11:30 pm

This error just popped up in code that was previously working. I cannot find any reference to this error code.

Traceback (most recent call last):
File "<stdin>", line 518, in <module>
File "<stdin>", line 495, in system_reset
File "<stdin>", line 21, in __init__
RuntimeError: Capture Failed: -2
MicroPython v1.12-omv OpenMV v3.6.7 2020-07-20; OPENMV4-STM32H743
User avatar
Posts: 4436
Joined: Sun May 24, 2015 2:10 pm

Re: RuntimeError Capture Failed: -2

Postby kwagyeman » Wed Sep 16, 2020 12:52 am

Set the pixformat before calling snapshot: ... or.c#L1334

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests