PDA

Ver la Versión Completa : ¿Cómo instalar openCV en delphi 2010?


koiji
08-10-2014, 18:47:03
me estoy iniciando instalacion de openCV para delphi lo estaba instalando pero me sale un error lo descargue desde aqui https://github.com/Laex/Delphi-OpenCV y estoy instalando desde esta carpeta para compilarlo\source\component\Delphi14 para delphi 2010 Gracias espero sus comentario para poder solucionar este problema

mamcx
08-10-2014, 19:16:00
Ya leiste http://clubdelphi.com/foros/guiaestilo.php?

Neftali [Germán.Estévez]
09-10-2014, 12:55:31
En esa misma página tienes unas instrucciones bastante detalladas.

De todas formas, si no das más información acerca del problema es muy difícil saber qué puede estar pasando.

koiji
09-10-2014, 15:54:47
yo instale
Requires installed Visual C++ redistributable for Visual Studio 2013

Contributors:

Laentir Valetov (email: laex@bk.ru)
Mikhail Grigorev (email: sleuthhound@gmail.com)
How to install:

Download the archive link
Unzip it to a convenient directory, thus get the following directory structure

<PROJECT_ROOT> - Directory, such as "C:\OpenCV\"
<bin>
<redist>
<resource>
<samples>
<source>
añadi a dephi 2010 en el menu tools->options->library-win32->library-path

Add the search path for the modules of the project in Delphi IDE (Tools-Options-Delphi Options-Library-Library path)

<PROJECT_ROOT>\source
<PROJECT_ROOT>\source\utils
<PROJECT_ROOT>\source\component
<PROJECT_ROOT>\source\sdl
<PROJECT_ROOT>\source\opengl
<PROJECT_ROOT>\source\ffmpeg
<PROJECT_ROOT>\resource\facedetectxml


hasta aqui lo hice bien creo yo luego en esta seccion creo que algo no hice bien opencv_*.dll and FFMPEG dll no entendi mucho

where <PROJECT_ROOT> directory, which was unzipped project.
Add to your PATH variable path to the library "opencv_*.dll" and FFMPEG dll.

for Win32 <PROJECT_ROOT>\bin\Win32
for Win64 <PROJECT_ROOT>\bin\Win64
Or

For 64-bit
esta seccion no la toque porque estoy en 32bits
1. Copy the dll files from the <PROJECT_ROOT>\redist\VC2013x64\ to C:\Windows\System32\
2. Copy all the dll from <PROJECT_ROOT>\bin\Win64 in the C:\Windows\System32\
3. Copy the dll files from the <PROJECT_ROOT>\redist\VC2013x86\ to C:\Windows\SysWOW64\
4. Copy all the dll from <PROJECT_ROOT>\bin\Win32 in the C:\Windows\SysWOW64\
For 32-bit

aca copy todas las DLL a system32 de mi equipo aun que algunas DLL ya estaban las reemplaze

1. Copy the dll files from the <PROJECT_ROOT>\redist\VC2013x86\ to C:\Windows\System32\
2. Copy all the dll from <PROJECT_ROOT>\bin\Win32 in the C:\Windows\System32\

aqui en esta seccion no existe el archivo dclFMXOpen en \source\component\Delphi14 -- porque mi version de delphi es 2010 y cuando compilo me tira este erro

"there are errors" exec error the command "brcc32 ..\..\..\resource\facedetectxml\haarcascade.res exited whit code 9009"
failed
To install the components, open and install

<PROJECT_ROOT>\source\component\DelphiXX\OpenCVXXX.dpk
<PROJECT_ROOT>\source\component\DelphiXX\dclCommonOpenCVXXX.dpk
<PROJECT_ROOT>\source\component\DelphiXX\dclVCLOpenCVXXX.dpk
<PROJECT_ROOT>\source\component\DelphiXX\dclFMXOpenCVXXX.dpk

koiji
09-10-2014, 20:13:25
los detalles de los errores de la instalacion de openCV con delphi gracias

koiji
10-10-2014, 20:43:55
En esa misma página tienes unas instrucciones bastante detalladas.

De todas formas, si no das más información acerca del problema es muy difícil saber qué puede estar pasando.

espero puedas revisar este hilo Neftali

Neftali [Germán.Estévez]
13-10-2014, 09:52:31
where <PROJECT_ROOT> directory, which was unzipped project.
Add to your PATH variable path to the library "opencv_*.dll" and FFMPEG dll.

Lo que te está diciendo es que te asegures de que estas librerías se encuentran en el path. Si están en los directorios que te indica según la versión (dentro de Windows) no debería haber mayor problema.

"there are errors" exec error the command "brcc32 ..\..\..\resource\facedetectxml\haarcascade.res exited whit code 9009"

Este error parece que sucede cuando está intentando compilar y no encuentra el fichero.
Revisa que ese fichero esté en el directorio correcto (haarcascade.res).

Puedes probar a ejecutar ese línea desde la línea de comandos a ver si sala alguna descripción más.