unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel@gnu.org
Subject: Re: Binary descriptors for OpenCV
Date: Tue, 01 Aug 2023 10:02:11 -0400	[thread overview]
Message-ID: <87o7jqsvx8.fsf@gmail.com> (raw)
In-Reply-To: <874jlk9kl3.fsf@elephly.net> (Ricardo Wurmus's message of "Mon, 31 Jul 2023 15:12:49 +0200")

Hi Ricardo,

Ricardo Wurmus <rekado@elephly.net> writes:

> Hi Guix,
>
> I’d like to draw your attention to https://issues.guix.gnu.org/64945.
> It’s a patch that adds binary descriptors to OpenCV.
>
> These descriptors are the result of a very expensive computation, which
> could be performed with lots of memory and GPUs.  The result is a small
> number of very small descriptors in binary format, which OpenCV can use
> as an input to a feature detection algorithm.
>
> This is probably one of the simplest cases of machine learning output;
> the output is small and compared to other machine learning models
> require only a small amount of computation.  But it’s above the
> threshold for our build farm and not something we can have users
> recompute on install.
>
> The software used to generate these descriptors is freely licensed, and
> the descriptors are living in the twilight zone of assets that are not
> quite software but clearly not just decorative either.  They are large
> arguments to image feature detection algorithms, much like an image mask
> would be.
>
> What shall we do with this patch?  Can we accept it or does it cross a
> line we don’t want to cross?

We should ask what is the FSF's opinion about it, if they have one.  I
personally see trained data models as data more than code; so when their
licensing allows them to be redistributed I see no objection to package
them in Guix.

One example is the 'tesseract-ocr-tessdata-fast' package, which contains
the data of the trained models.  Debian also packages the models of the
different languages as 'tesseract-ocr-eng, 'tesseract-ocr-fra',
etc. [0]; even Parabola offers with its 'tesseract-data-*' packages [1].

[0]  https://packages.debian.org/search?suite=stable&section=all&arch=any&searchon=names&keywords=tesseract
[1]  https://www.parabola.nu/groups/x86_64/tesseract-data/

-- 
Thanks,
Maxim


  reply	other threads:[~2023-08-01 14:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-31 13:12 Binary descriptors for OpenCV Ricardo Wurmus
2023-08-01 14:02 ` Maxim Cournoyer [this message]
2023-08-01 14:39   ` Saku Laesvuori
2023-08-19  9:37 ` Simon Tournier
2023-08-24 15:06   ` Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2023-08-01  7:21 Nathan Dehnel
2023-08-01 12:14 ` Ricardo Wurmus
2023-08-16 16:55   ` Ludovic Courtès
2023-08-17 21:57     ` Nathan Dehnel
2023-08-17 23:18     ` Maxim Cournoyer
2023-08-24 15:08       ` Ludovic Courtès
2023-08-01 18:50 Nathan Dehnel
2023-08-01 20:37 ` Saku Laesvuori
2023-08-01 20:58   ` Nathan Dehnel
2023-08-02  4:46     ` Saku Laesvuori
2023-08-02 20:25       ` Nathan Dehnel
2023-08-03  6:18         ` Saku Laesvuori

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87o7jqsvx8.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).