Recent

Author Topic: How to use OpenCV in Lazarus?  (Read 473 times)

TomTom

  • Full Member
  • ***
  • Posts: 115
How to use OpenCV in Lazarus?
« on: September 24, 2020, 02:16:35 pm »
I've been searching for this but I didn't find anything that would work. I tried this https://github.com/six1/Laz_OpenCV_2 but I can't add this to Lazarus.
So how can I setup Lazarus 2+ to use OpenCV ?

winni

  • Hero Member
  • *****
  • Posts: 1901
Re: How to use OpenCV in Lazarus?
« Reply #1 on: September 24, 2020, 03:37:34 pm »
Hi!

You will find six1  in the german forum:

https://www.lazarusforum.de/


Winni

Edson

  • Hero Member
  • *****
  • Posts: 1098
Re: How to use OpenCV in Lazarus?
« Reply #2 on: September 24, 2020, 03:45:03 pm »
You can check https://github.com/t-edson/LazarusOpenCV

I made it from a Delphi version and testing in linux too.

First of all you have to install OpenCV.
Lazarus 2.0.10 - FPC 3.2.0 - x86_64-win64 on Windows 8

jamie

  • Hero Member
  • *****
  • Posts: 3651
Re: How to use OpenCV in Lazarus?
« Reply #3 on: September 25, 2020, 12:47:24 am »
I've been searching for this but I didn't find anything that would work. I tried this https://github.com/six1/Laz_OpenCV_2 but I can't add this to Lazarus.
So how can I setup Lazarus 2+ to use OpenCV ?

It might be less costly if you would explain what aspects of OpenCV you want to use ?

There are plenty of graphic wizards around here that can demonstrate how to perform specific graphic operations.
« Last Edit: September 25, 2020, 01:44:02 am by jamie »
The only true wisdom is knowing you know nothing

nospambox

  • Newbie
  • Posts: 3
Re: How to use OpenCV in Lazarus?
« Reply #4 on: September 25, 2020, 07:12:47 am »
Look at this github project  : https://github.com/Laex/Delphi-OpenCV

I use it with Delphi since sereval years for very complex industrial projects.

It is really a comprehensive wrapper, active, and with current work ongoing to go to version 3.0 or above of OpenCV.

I don't know if code is compatible with FPC. My guess is yes.

jamie

  • Hero Member
  • *****
  • Posts: 3651
Re: How to use OpenCV in Lazarus?
« Reply #5 on: September 27, 2020, 10:49:46 pm »
I am sure the code can compile with fpc/Lazarus..

I guess a complete wrapper could be had for it.

 Lets see, how much time do I have left on my chronometer ?
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018