r/computervision • u/Abject_Leopard_9799 • Sep 19 '26
Discussion Programming languages for CV
What other languages are essential to a computer vision engineer other than python and why?
8
Upvotes
25
u/Fleischhauf Sep 19 '26
c++ if you need to speed something up and work with embedded things
14
u/TEX_flip Sep 19 '26
For work I just used python, c++ and in some rare cases JavaScript and GPU related languages like cuda and glsl.
Python for developing algorithms that will be converted to c++ to be run in production.
1
u/Abject_Leopard_9799 Sep 19 '26
I feel like I got the hang of python now, will I be able to use that knowledge when learning c++ or is like starting from square one? For examples they both work with objects right so I would have less of a learning curve of that.
4
u/herocoding Sep 19 '26
Difficult to answer specifically for ComputerVision - as there is some stuff around it, too.
We use low-level stuff a lot, like e.g. DMA transfer, also using e.g. I2C or USB to communicate with e.g. camera interfaces - and those usually are low-level operating system interfaces (e.g. Linux, POSIX), which usually are C methods from C header files.
There are bindings for many languages for e.g. OpenCV when it's about "classic" CV.
We use quite a lot of other domains, from databases, GPU/shader/rendering/2D-/3D-transformations, FFT and other "plain" filters, specific image- and video-coded libraries (with/without HW-acceleration, vendor-specific).
Sometimes we need to implement "protocols" using sockets, TCP, UDP.
All that usually means using C-methods - but we usually develop C++ based projects using C++ frameworks with abstraction layers, etc.
3
u/aSiK00 Sep 19 '26
Matlab is pretty useful in a scientific setting, but it does lock you in. Very easy to get running though.
1
u/CowBoyDanIndie Sep 19 '26
C++ and cuda C++
1
u/IsGoIdMoney Sep 19 '26
Python, c++
1
u/HistoricalLadder7191 Sep 20 '26
Pyton allows you to utilise existing tools. Most, if not all popular libraries and frameworks have python wrappers. But tools themself are written in c++, typically. So for really interesting stuff- you need one.
1
u/threedim Sep 19 '26
first tell me what do you want to do in computer vision its a huge field.
General: python