Hello,


I have a python code which i would like to convert it to OCaml.

The library takes a PNG and removes the border, strips horizontal lines, crops the image to pieces, denoises and resizes again.

We use opencv.

I searched around in opam, github to find the following link that performs some functions that i need.

  1. http://pauillac.inria.fr/camlimages/ 3

The below two links demonstrate an FFI - “extern C” approach.

  1. FFI interface to opencv https://github.com/tovbinm/ocaml-faces 2
  2. FFI interface to opencv https://github.com/ChesleyTan/ascii-chat 2

Are there packages in OCaml for imageprocessing like opencv ?

Should i take the FFI interface to opencv from OCaml ?

Your thoughts are welcome.

Kishore