r/computervision • u/Apprehensive_Heat789 • 1d ago
Discussion Need to start learning OpenCV
A few months ago, I posted about needing to start leaning computer vision, and many of you suggested cs231n, which was the best course I had since I started learning AI.
Now, I'm asking you guys for suggestions on resources to learn OpenCV, especially the dnn module, along with projects and practical stuff.
Thank you guys.
8
Upvotes
5
u/PetroHIV 1d ago
I work in academia and not sure what industry thinks about it, but afaik OpenCV's dnn module is not really used anywhere. Actual production stack uses either torch or TensorFlow and ONNX or TensorRT for inference.
3
u/ntaquan 19h ago
OpenCV's doc itself is already good
1
u/fransafu 1d ago
Sometimes I find useful code snippets with explanations on this blog:
Btw, the implementation is quite old. As another user pointed out in this post, it's not as widely used today because there are better implementations available. Still useful for learning, but not so much in practice. You can definitely spend some time learning this and exploring some examples, just remember to keep moving forward with newer implementations. Don't fall into the trap of learning the implementation and the solution without first understanding the problem.
If you're looking for examples, go to github.com and use filters like
("import cv2.dnn" OR "from cv2 import dnn") language:Pythonto explore some examples in the Code tab. I've left the URL with the filter applied and the tab selected here:https://github.com/search?q=%28%22import+cv2.dnn%22+OR+%22from+cv2+import+dnn%22%29+language%3APython&type=code
GL
1
u/The-CaffeineAddict 12h ago
I suggest you start directly with small projects that you will use OpenCV in them, it is the best way instead of trying to read and memorize everything.
And for the resources, OpenCV is one of the libraries that has amazing docs, you wouldn't need another source to learn it, maybe just the advanced stuff.
Good luck!
1
u/fliiiiiiip 5h ago
Study OpenCV docs and the refs there for everything related to classical CV, image processing, etc.
After that / at the same time go to PyTorch and HuggingFace (and docs) for Deep Learning and then Deep Learning applied to CV
Then branch out depending on your interests.
If you like medical imaging, go read eg. Monai and/or Trident docs.
If you like edge computing, go read about ONXX, quantization, ARM, etc. and invest in a Jetson Nano (or at the very least a Raspberry Pi) + camera module to start doing projects.
If you like machine vision (industrial applications), then search articles like those in EdmundOptics (optics), EMVA guidelines (camera sensors), MVTec docs, Basler docs, GeniCam docs, etc.
The best way to learn stuff about optics is to ask ThorLabs customer support chat, those guys are great.
Etc.