cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kevinbai
Visitor
Visitor
166 Views
Registered: ‎03-08-2021

How to use/install Opencv in bare metal (standalone) ?

Now.I can use Opencv in Linux by petalinux. 
But it runs too slowly.So,I want to use Opencv in bare metal (standalone).
Can you give me some suggestions or ideas?

0 Kudos
4 Replies
hokim
Scholar
Scholar
137 Views
Registered: ‎10-21-2015

Hi

OpenCV doesn't support standalone. 

0 Kudos
joancab
Mentor
Mentor
127 Views
Registered: ‎05-11-2015

Opencv is a software library. Whether you use with Linux or bare, the speed is going to be about the same. Maybe you get a 5-10% increase, that's probably all.

If openCV is not fast enough, you need to speed it up in hardware, that's what FPGAs are for, that's why a Zynq Ultrascale+ can cost more than an i9 CPU.

0 Kudos
kevinbai
Visitor
Visitor
73 Views
Registered: ‎03-08-2021

Is this possible if I use OpenCV's statically linked library?
0 Kudos
joancab
Mentor
Mentor
51 Views
Registered: ‎05-11-2015

No, is not about how you link libraries, software is software and will always be software (aka a string of operations that queue patiently waiting to be done), you are using an FPGA, you need to look for your image processing blocks in the available ones or think about developing your algorithms either with HDL, HLS or Matlab. The SDSoC flow can also help, have a look.

0 Kudos