This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Description
I have installed the latest version of opencv (4.10.0) and my php version is 8.2, I tried to use it but there doesn't seem to be any function associated with it.
Functions available in the test extension:
confirm_opencv_compiled
CV\CV_8UC
CV\CV_8SC
CV\CV_16UC
CV\CV_16SC
CV\CV_32SC
CV\CV_32FC
CV\CV_64FC
CV\imread
CV\imwrite
CV\imshow
CV\waitKey
CV\moveWindow
CV\namedWindow
CV\cvtColor
CV\ellipse
CV\circle
CV\fillPoly
CV\line
CV\rectangle
CV\rectangleByPoint
CV\rectangleByRect
CV\addWeighted
CV\split
CV\merge
CV\createTrackbar
CV\destroyWindow
CV\getOptimalDFTSize
CV\copyMakeBorder
CV\dft
CV\magnitude
CV\add
CV\log
CV\normalize
CV\norm
CV\meanStdDev
CV\equalizeHist
CV\resize
CV\Canny
CV\matchTemplate
CV\putText
CV\absdiff
CV\getTrackBarPos
CV\blur
CV\GaussianBlur
CV\medianBlur
CV\bilateralFilter
CV\dilate
CV\erode
CV\filter2D
CV\Sobel
CV\Scharr
CV\Laplacian
CV\convertScaleAbs
CV\getStructuringElement
CV\threshold
CV\morphologyEx
CV\LUT
CV\getTickCount
CV\getTickFrequency
CV\floodFill
CV\setMouseCallback
CV\adaptiveThreshold
CV\findContoursWithoutHierarchy
CV\drawContours
CV\boundingRect
CV\getRotationMatrix2D
CV\warpAffine
CV\getRectSubPix
CV\getPerspectiveTransform
CV\warpPerspective
CV\DNN\blobFromImage
CV\DNN\blobFromImages
CV\DNN\readNetFromCaffe
CV\DNN\readNetFromTorch
CV\DNN\readNetFromTensorflow
CV\DNN\readNetFromONNX
CV\DNN\readNetFromModelOptimizer
CV\DNN\readNetFromDarknet
CV\imdecode
Congratulations! You have successfully modified ext/opencv/config.m4. Module opencv is now compiled into PHP.