php-opencv / php-opencv

opencv 4.5+ with dnn module for php 7/8

Home Page:https://github.com/php-opencv/php-opencv-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Call to undefined function CV\getPerspectiveTransform()

StanJansen opened this issue · comments

Hello!

I just started using this library. Installation went smooth, and already using some other functions. But when trying to use getPerspectiveTransform I get the error "Call to undefined function CV\getPerspectiveTransform()". Did I do something wrong in the installation process?

I'm on PHP 8.0 and OpenCV 4.5.0, other functions like imread and drawContours work perfectly.

Thanks!

some functions were in code but were not exported:
b1f0ca9
I added it and rebuilded php8 package.
I also added it to documentation:
php-opencv/php-opencv-examples@98f06fd

Thanks! Works like a charm, i'l make sure to credit the library if/when my hobby project goes live :)