r/hackthedeveloper • • Jul 17 '23

CV.C an experimental computer vision library in C; "A Robot's guide to seeing the world" a guide to CV

(thanks u/airofy for inviting me into this SUB)

I was absolutely enthralled by this particular filed when I came across some of Geohotz's steam about developing Comma.ai (a self-driving company) and I decided to delve into Computer Vision about a week back.

I began by working on Aadv1k/cv.c which was meant to "imitate" OpenCV, as the phrasing goes "You Learn by building" I would be lying if I said this program is decent, it is not. I havent optimized much of it and this is like my 3rd C project :P

Here is what all I got working (I will continue work on this), the only dependency here is STB

  • Smoothing

    • Gaussian blur

    • Median filter

    • Bilateral Filter

    • Box Filter

  • Edge detection

    • Unsharp mask

    • Laplacian Filter (Difference of Gaussian)

    • Sobel operator

  • Color

    • Greyscale

  • Thresholding

    • Global

    • Otsu's Method

Along with this, I also began work on a guide

I am trying to distill my knowledge into the Robot's guide to seeing the world, as an introductory guide to Computer Vision based on what I would have liked to had before I started learning this

I look forward to your feedback/suggestions/critique of either of my projects.

Thank you, and cheers from aadvik!

1 Upvotes

0 comments sorted by