Is there any way to integrate OpenCV with PHP?

后端 未结 4 1597
情歌与酒
情歌与酒 2020-12-16 13:27

I am trying to develop an application with PHP.

There are two possible ways this application will be developed. The first one is to try to do something like www.picn

4条回答
  •  忘掉有多难
    2020-12-16 13:50

    Depends on both server restrictions and the target program. If server allows, you can run external programs and pass arguments to them.

    These external programs are usually CLI programs, i.e., without GUI. Image would be passed as a path to an image file (rather than data about pixels), i.e., my_opencv_program -resize 1024x768 -infile /tmp/input.jpg -outfile /tmp/output.jpg.

提交回复
热议问题