how can ı use opencv (cv2 library) in micropython? for raspberry pi pico

3,498 views
Skip to first unread message

Crepto 81

unread,
Apr 13, 2021, 6:32:55 AM4/13/21
to thonny
Hello,
I bought a raspberry pi pico.
I cannot add CV2 library to micropython in order to run my openCV codes that I wrote from python with raspberry pi pico in micropython.
How can I add CV2 library to micropython?
thanks.

Martyn Wheeler

unread,
Apr 13, 2021, 6:45:50 AM4/13/21
to Crepto 81, thonny
If there is no port of the library you may have to do it yourself. python libs are not necessarily generally directly portable to Micropython. 

--
You received this message because you are subscribed to the Google Groups "thonny" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thonny+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thonny/6fd9ca16-3132-455d-95b2-d99a21c0e085n%40googlegroups.com.

Crepto 81

unread,
Apr 13, 2021, 10:51:45 AM4/13/21
to thonny
I have the file of the cv2 library. but I don't fully understand. If I put the cv2 library I got from python directly into micropython, will it work?

13 Nisan 2021 Salı tarihinde saat 13:45:50 UTC+3 itibarıyla martynd...@gmail.com şunları yazdı:

Aivar Annamaa

unread,
Apr 13, 2021, 2:49:55 PM4/13/21
to thonny
I'm pretty sure it won't work.

Besides, this issue is not specific to Thonny, so it's better if you discuss it in another, more suitable forum.

Best regards,
Aivar

Reply all
Reply to author
Forward
0 new messages