How to run opencv on a microcontroller?

I do not know much about the field of electronics and controllers. But I want to know how to combine opencv with a red traffic light? I know that the answer is a microcontroller, but I only know that there is an AVR compiler that can compile C to hex and then work with microcontrollers.

But OpenCV (which I don't think I run in C) is high level and probably won't work with AVR.

So, what should I do to combine a machine vision program (OpenCV and C ++) and a traffic light timer?

  • Changing my programming language and library is so difficult for me, for some reason.
  • My program should be in real time.
  • If there is another system (not controllers and ...) that it costs, it is not very much and can run opencv programs, it can be used by me.

If you need details, just tell me.

+3
source share
2 answers

I initially reported this question as a possible duplicate , but you asked other questions that need to be addressed.

OpenCV C, ++, 2.0. OpenCV C, , , . , ++ C.

, , .

OpenCV .

+2

. . ARM SoC (System On Chip), DSP (Digital Signal Processor). . , BCM2835, Pi. Broadcom, 220 .

+6

All Articles