M
M
morelen172016-03-11 22:44:25
PHP
morelen17, 2016-03-11 22:44:25

OpenCV in c++ in php?

There is a desire to write a small web service for recognizing an object X in an image. I write the recognition module in c ++ with OpenCV, the web part is in php. And here's the question: how to make friends c++ application and php? Or is it better to write a c++ library for php? And what will work faster?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir Goncharov, 2017-12-31
@morozovsk

php-opencv supports php7 unlike OpenCV-for-PHP (which has been abandoned for a long time).
I managed to compile using the instructions in Chinese and googletranslate.
Ran the test case.
I stepped on a bunch of rakes, so now in the process of writing an article on Habr, so that more people learn about this library and can use it as painlessly as possible.

I
IceJOKER, 2016-03-11
@IceJOKER

Maybe - https://github.com/mgdm/OpenCV-for-PHP ?

V
Valery Dmitriev, 2016-03-13
@rotor

You are looking for this: https://github.com/CopernicaMarketingSoftware/PHP-CPP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question