r/opencv • • May 18 '21

News [News]: Kickstarter - OpenCV for Beginners

0 Upvotes

The Kickstarter campaign for OpenCV for Beginners blew past its funding goal in just 27 mins after launch!
The $47 EARLY BIRD deal ends at 10 AM Pacific Time, May 19, 2021.

https://www.kickstarter.com/projects/opencv/opencv-for-beginners?ref=4xf6gi

During this Kickstarter campaign, our existing courses are also available at deeply discounted prices.

Please help us spread the word - OpenCV for Beginners is a short, fun, and affordable course for people who want to get started in computer vision and AI.


r/opencv • • Aug 07 '21

Meta [Meta] Sometimes, -60° is all it takes, could not computer vision that newImage = rotation(img, -60)

Post image
1 Upvotes

r/opencv • • Oct 18 '25

Question I know how to use Opencv functions, but I have no idea what rk actually do with them [Question]

Post image
1 Upvotes

r/opencv • • Jan 11 '22

Project [Project] Future of design! Take 2-3 pictures of any object and it will get converted to a 3D model! 🤯😍

Thumbnail
self.latestinml
0 Upvotes

r/opencv • • Jan 22 '22

Question [Question] Detection of custom BackGammon board

0 Upvotes

Hello everybody, I am a high-school student for electronics and for my final project I paired up with a friend and we decided to build a BackGammon board that can play against you physically. In that I mean that the board will be able to detect a player movement, and physically make his own move in response.

For those of you that don't know what backgammon is: https://en.wikipedia.org/wiki/Backgammon

the board detection is performed by an overhead camera connected to a Raspberry Pi board, running an openCV python script for detecting the location of the board and the game pieces. Now while I have been coding for a few years, I have never used openCV or even python for any project, so I am definitely a beginner in the computer vision field.

I have been working on this part of the project for about 4 days and have encountered more problems than a trunkless elephant. I believe I have a good grip on the language and the library by now, but I had problems with every method I've tried.

I tried rectangle contour detection, which worked but very inconsistently. I am also making the pysical board so I have tried drawing green circles on the corners and using an hsv filter in combination with the Hough circles method which lead me into a whole new array of problems that I will happily rant about if you'll ask for that information.

Basically what I'm asking is how you'd suggest I go about detecting the board and game pieces location in the code, and how I should make my board (because the one I built was just a prototype and not the final version) and the game pieces (because I'm 3d printing them too). should I add custom indicators, is there a trick for detecting board games I'm unaware of?

Thank you in advance for any help, and I will share any additional information you ask for in the comments, I just didn't want to bombard the post with information.


r/opencv • • Jun 30 '20

Blog How to auto-rotate the image using Deep learning[Blog]

0 Upvotes

I wrote one blog about how to auto rotate the human images using computer vision. this use case really useful for image editing applications.

it's simple steps to implement using OpenCV and Caffe model.

Check it out:- https://medium.com/@venkateshpnk22/how-to-auto-rotate-the-image-using-deep-learning-c34b2e0e157d


r/opencv • • Mar 02 '15

What is OpenCV? How can I start working on it?

0 Upvotes

I have got the requisite files but I dont know what to do next. Please guide.


r/opencv • • Jun 15 '21

Project [Project] Modelplace, the AI Model Marketplace by OpenCV

Thumbnail
modelplace.ai
0 Upvotes

r/opencv • • Aug 26 '20

Blog [Blog] How To Do Barcode Detection From An Image Using OpenCV

Thumbnail
laconicml.com
0 Upvotes

r/opencv • • Apr 27 '21

Question [Question] Best method for contour identification based on my images?

0 Upvotes

What's up everyone,

I have two colorized depth scale images of the same environment. In one image, the depth imager is very nearly parallel to the surface so the colorization is fairly uniform other than the object I'm trying to identify. The other image I have is the same image except the imager is no longer nearly parallel to the surface resulting in a drastic change in color with the same object still noticeable. I know this is kind of a unique case, but is there a way to group color changes by change over time/ pixel count? For example, the parallel image has a sharp drastic change from greenish -> blue in a short time relative to the whole image frame. Where as the non-parallel image changes color over the entire image. I kind of want to make a mask of some type that is able to filter out the long ranging color changes and keeps the sharp color changes for contour finding.

Any help/ suggestions are appreciated.

See both images below:


r/opencv • • Jan 02 '21

Discussion [Discussion] Starting Programming, have a Passion for computer vision, need mentors.

1 Upvotes

Hi folks, me and some of my friends who have a passion for programming are starting to learn it...

some of us are very interested in computer vision... we are looking for mentors... we are not well versed in the state of computer vision rite now.... we want to sketch our way to some level of competence, for that we need guidance, if anyone of you has a passion for teaching, please contact us.

Thankyou


r/opencv • • Jan 09 '25

Tutorials [tutorials] How to Capture RTSP Video Streams Using OpenCV from FFmpeg

Thumbnail
funvisiontutorials.com
1 Upvotes

This tutorial explains how to read RTSP streams using OpenCV, installed via VCPKG, and includes examples in both C++ and Python. Capturing an RTSP video stream is a common requirement for applications such as surveillance, live broadcasting, or real-time video processing. Additionally, we will explore basics of RTSP-RTP protocol.


r/opencv • • Oct 15 '20

Blog [Blog]: Take your computer vision app to the edge

1 Upvotes

There are two popular methods for deploying AI models.

  1. Cloud : In this method, a camera takes a picture and sends it to a server for processing.

  2. Edge : In this method, the AI model is deployed on a small device (e.g. Raspberry Pi, Jetson Nano, OpenCV AI Kit (OAK)) connected to the camera. The computational resources are limited and one often has to worry about power consumption. Deploying an AI model on different edge devices needed you to learn the specific methods associated with each platform. What a pain!

So alwaysAI created a guest post about their platform which makes deployment on the edge easy for developers. Read more at https://opencv.org/take-your-computer-vision-app-to-the-edge/


r/opencv • • Nov 23 '21

Project [project] Looking for an OpenCV developer

2 Upvotes

Looking to hire an OpenCV developer who can go over someone else's code and make the app perform better. Please provide your rate and examples of your work.


r/opencv • • Dec 29 '21

Question [Question] How do I convert the BGR code to RGB on OpenCV Python?

0 Upvotes

Hi, I am pretty new to OpenCV buy recently I had a project that requires me to transform a RGB code to a color name. I am stuck at the phase of Transfering the BGR to RGB, in code. I did some research but the only result I get is to transfer the image from BGR to RGB (so basically a red apple would become blue). Does anyone have an idea how to make what I want work? I don't know if this helps but right now my code is just : def my_function():

`image = cv2.imread("RougePP.jpg")`

`a,b,c = image[20,20]`

`cv2.imshow("Image",image)`

`print(a,b,c)`

In this, a = B, b = G, c = R and "RougePP" is only a red image


r/opencv • • Dec 31 '20

Question [QUESTION] discord?

1 Upvotes

hey,

Is there an opencv discord anyone can point me too? Thanks!


r/opencv • • Nov 02 '21

Question [Question] cv2.imread('/path/to/image ', -1) What can I do if the path is different every time I want to run the .py code?

0 Upvotes

Is my only option to manually type in the complete absolute path every time I want to run the code on a new image?


r/opencv • • Jun 27 '21

Question [QUESTION] Problem About Real Time Object Detection On Raspberry Pi

1 Upvotes

Hey people, We are building autonomous underwater vehicle and using yolov5 on raspberry pi for realtime object detection but model detects object from photo about 3 seconds and its so slow for us. So do you have any advise, should i use just opencv without ML model. I just need to detect rectangle and circle with specific measurements, it couldnt be that hard i know. I am programmer but doesnt have lots of experience with these subjects. Please help me 🙏 Thanks…


r/opencv • • Dec 04 '23

Question [QUESTION] Using OpenCV to detect body parts in real-time NSFW

1 Upvotes

Hi all,

I want to mount a camera on a robot arm that I'm building and then be able to "tell" the robot to point at a specific body part.

The user of the arm will be naked, and therefore the processor will need to be able to tell the difference between a finger and male genitalia, or the different in size/shape between male and female breasts.

I see many image sets out there for training platforms to filter out adult imagery, so I'm wondering how easy it would be to flip those algorithms around so the camera ignores "boring" body parts such as the face or eyes, and instead focuses on the "more interesting" (for this project anyway) parts.

I know python, but I'm relatively new to OpenCV apart from a few tutorials in which I've been able to get my camera to track my face - is there a good tutorial out there on how to generate the required models for other body parts as well? Is what I'm asking even possible yet?


r/opencv • • Jan 29 '18

This one line of code can make your OpenCV (C++ or Python) code 5x faster.

Thumbnail
learnopencv.com
1 Upvotes

r/opencv • • Jun 23 '19

Question [Question] is-camera-pose-estimation-with-solvepnp-epnp-sensitive-to-outliers-and-can-this

Thumbnail
stackoverflow.com
1 Upvotes

r/opencv • • Sep 13 '20

Question Detecting lines and turn the car left or right? [Question]

1 Upvotes

Hi!

i am new in opencv, I googled up how to detect lines and i think i understand the code, but i am not exactly sure how to achive turn the car left or right to be midle of the road? Somebody could explain to me who can i achive this and maybe show me some code? I understand better if i play with it.


r/opencv • • Sep 05 '20

Project [Project] - How to get a persons body measurements using an image?

1 Upvotes

I am trying to build an E-dressing platform, where I need to get a person's measurements through their image, I dug up on the subject, and have implemented OpenPose to get their keypoints, however I have no clue how to actually get their body measurements? Anyone can help me with this ?


r/opencv • • Jul 27 '22

Question [question] license plate detection

1 Upvotes

Hello i'm trying to detect italian license plates with opencv and tesseract.Results are not bad but sometimes, the code will miss the rectangle of the license plate or give me bad values.

Thought i'd resolve the first issue but just finding the two blue rectangles at the sides of the license plate.

example:

So with opencv i used the inrange function to find the blue(still ned some tweaking):

define range wanted color in HSV

upper_val = np.array([220, 200, 120])
lower_val = np.array([120, 10, 35])
mask = cv2.inRange(image, lower_val, upper_val)

and i obtain this:

📷

I know, it's not perfect but hey. I can see those two "rectangles" and i know the space between each of them is always quite similar.

Now, i'm blocked. I'd like to display only the cropped image. Something like this:

📷

but i'm blocked. advices?