Forum

Raspberry Pi 4: How...
 
Notifications
Clear all

[Solved] Raspberry Pi 4: How to check if I have OpenCV installed?

3 Posts
2 Users
0 Likes
321 Views
Posts: 1
Guest
Topic starter
(@Oscar)
New Member
Joined: 1 year ago

Hello Raspberry Pi enthusiasts,

I've been working on some projects with my Raspberry Pi 4 that require OpenCV, but I'm not sure if it's already installed on my system. Can someone guide me on how to check whether OpenCV is installed on my Raspberry Pi 4?

I'd appreciate step-by-step instructions or any commands I can run in the terminal to verify its presence. Additionally, if it's not installed, how can I go about installing it? Any help would be fantastic.

Thanks!

2 Replies
Posts: 13
(@raspi)
Active Member
Joined: 2 years ago

Hi

To find out if OpenCV was installed correctly, open Terminal and run the following commands:

python
import cv2 as cv
print(cv.__version__)
Reply
1 Reply
 xavy
Guest
(@xavy)
Joined: 1 second ago

New Member
Posts: 0

@raspi 👍

Reply

Leave a reply

Author Name

Author Email

Title *

 
Preview 0 Revisions Saved
Share:
Scroll to Top