caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Francois Berenger <mlists@ligand.eu>
To: Kishorekumar Neelamegam <nkishore@megam.io>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Image processing like opencv in OCaml
Date: Tue, 15 Jan 2019 10:32:20 +0900	[thread overview]
Message-ID: <6cbad46cf4fb8d24005f23749d9d5a61@ligand.eu> (raw)
In-Reply-To: <CAMXBr=yBUJz7YTzFvx=iu0-=3TvXdBUWAZAP1tzn2cL0sfkEfg@mail.gmail.com>

On 15/01/2019 03:25, Kishorekumar Neelamegam wrote:
> 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.
> 
> 	* http://pauillac.inria.fr/camlimages/ 3 [1]
> 
> The below two links demonstrate an FFI - “extern C” approach.
> 
> 	* FFI interface to opencv https://github.com/tovbinm/ocaml-faces 2
> [2]
> 	* FFI interface to opencv https://github.com/ChesleyTan/ascii-chat 2
> [3]
> 
> Are there packages in OCaml for imageprocessing like opencv ?

I did not use them, but there are bindings to ImageMagick in opam 
(imagemagick and magic),
which might give you access to some of the operators your are looking 
for.

This is not OpenCV though...

> Should i take the FFI interface to opencv from OCaml ?
> 
> Your thoughts are welcome.
> 
> Kishore
> 
> 
> 
> Links:
> ------
> [1] http://pauillac.inria.fr/camlimages/
> [2] https://github.com/tovbinm/ocaml-faces
> [3] https://github.com/ChesleyTan/ascii-chat


-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list https://inbox.ocaml.org/caml-list
Forum: https://discuss.ocaml.org/
Bug reports: http://caml.inria.fr/bin/caml-bugs

      reply	other threads:[~2019-01-15  1:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-14 18:25 Kishorekumar Neelamegam
2019-01-15  1:32 ` Francois Berenger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6cbad46cf4fb8d24005f23749d9d5a61@ligand.eu \
    --to=mlists@ligand.eu \
    --cc=caml-list@inria.fr \
    --cc=nkishore@megam.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).