Recent

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

TomTom

  • Full Member
  • ***
  • Posts: 170
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: 3197
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: 1296
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.2.6 - FPC 3.2.2 - x86_64-win64 on Windows 10

jamie

  • Hero Member
  • *****
  • Posts: 6077
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: 6077
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