[Fedora-legal-list] Re: can we bundle CNN models for wechat_qrcode ?

2022-10-19 Thread Matthew Miller
On Fri, Oct 14, 2022 at 01:38:44AM +0100, Sérgio Basto wrote:
> > 
> > And this question is about whether the addition of the code at 
> > https://github.com/WeChatCV/opencv_3rdparty to opencv is okay from a 
> > licensing perspective? And there is no license info in those files.
> Not additional code but additional binaries which "there is no license
> info in those files" neither if these models have any kind of patent .

My intuition is that this is "content" under Fedora policies [1] although I
can also see an argument that trained AI models are actually more like
compiled code. I don't think we have a good handle on this as it is an
emerging field.


If it _is_ "content", it would need to be under one of these licenses:

https://docs.fedoraproject.org/en-US/legal/allowed-licenses/#_allowed_content_licenses

or another license which may have the following exceptions to our normal
rules for free and open source:

* The license may restrict or prohibit modification
* The license may say that it does not cover patents or grant any patent 
licenses


I guess one could make the argument that these models are somehow like
"firmware", but I'm very skeptical about that. 

https://docs.fedoraproject.org/en-US/legal/license-approval/#_allowed_for_firmware


All of that stuff is kind of irrelevant if there is *no* license, though. 

-- 
Matthew Miller

Fedora Project Leader
___
legal mailing list -- legal@lists.fedoraproject.org
To unsubscribe send an email to legal-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/legal@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


[Fedora-legal-list] Re: can we bundle CNN models for wechat_qrcode ?

2022-10-13 Thread Sérgio Basto
On Thu, 2022-10-13 at 16:36 -0600, Jilayne Lovejoy wrote:
> HI Sergio (removing other email list),
> 
> To make sure I understand - is opencv a package already included in
> Fedora?

yes for a quite while , https://src.fedoraproject.org/rpms/opencv/

> 
> And this question is about whether the addition of the code at 
> https://github.com/WeChatCV/opencv_3rdparty to opencv is okay from a 
> licensing perspective? And there is no license info in those files.

Not additional code but additional binaries which "there is no license
info in those files" neither if these models have any kind of patent .

> But how does that relate to what is in this repo: 
> https://github.com/opencv/opencv_contrib/tree/4.x/modules/wechat_qrcode
>  ?

wechat_qrcode module needs that binaries to work. And the question is
if we can add them to the opencv package 


> Also, that link is a fork - is the overall intention that  WeChat
> QRCode 
> be added to https://github.com/opencv/opencv/tree/4.x/3rdparty) ?

This 3rdparty is different, this is software that is needed to build
opencv, but is not part of opencv. Almost all of this 3rdparty software
is removed, before the build starts because we already have this
software on Fedora. For example libpng, protobuf or libjasper .


> (sorry if these are silly questions!)

Sorry for my weak English and feel free to ask more 

> Thanks,
> Jilayne
> 
> 
> 
> On 10/11/22 5:38 PM, Sérgio Basto wrote:
> > Hi,
> > Recently opencv add to opencv_contrib "CNN models for wechat_qrcode
> > module, including the detector model and the super scale model."
> > https://github.com/WeChatCV/opencv_3rdparty
> > 
> > CNN models is about "Object Detection using CNNs"
> > https://docs.opencv.org/4.x/d2/da2/tutorial_dnn_objdetect.html
> > 
> > I proposed add the models
> > https://src.fedoraproject.org/rpms/opencv/pull-request/21#
> > 
> > The lack of information of the License of these "models" , make me
> > think I should ask to legal ? if we can bundle these binaries that
> > are
> > in a 3rdparty repo.
> > In the opencv_contrib code we have this License information
> > https://github.com/opencv/opencv_contrib/blob/4.x/modules/wechat_qrcode/LICENSE
> > 
> > Thanks,
> 

-- 
Sérgio M. B.
___
legal mailing list -- legal@lists.fedoraproject.org
To unsubscribe send an email to legal-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/legal@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


[Fedora-legal-list] Re: can we bundle CNN models for wechat_qrcode ?

2022-10-13 Thread Jilayne Lovejoy

HI Sergio (removing other email list),

To make sure I understand - is opencv a package already included in Fedora?

And this question is about whether the addition of the code at 
https://github.com/WeChatCV/opencv_3rdparty to opencv is okay from a 
licensing perspective? And there is no license info in those files.


But how does that relate to what is in this repo: 
https://github.com/opencv/opencv_contrib/tree/4.x/modules/wechat_qrcode ?


Also, that link is a fork - is the overall intention that  WeChat QRCode 
be added to https://github.com/opencv/opencv/tree/4.x/3rdparty) ?


(sorry if these are silly questions!)

Thanks,
Jilayne



On 10/11/22 5:38 PM, Sérgio Basto wrote:

Hi,
Recently opencv add to opencv_contrib "CNN models for wechat_qrcode
module, including the detector model and the super scale model."
https://github.com/WeChatCV/opencv_3rdparty

CNN models is about "Object Detection using CNNs"
https://docs.opencv.org/4.x/d2/da2/tutorial_dnn_objdetect.html

I proposed add the models
https://src.fedoraproject.org/rpms/opencv/pull-request/21#

The lack of information of the License of these "models" , make me
think I should ask to legal ? if we can bundle these binaries that are
in a 3rdparty repo.
In the opencv_contrib code we have this License information
https://github.com/opencv/opencv_contrib/blob/4.x/modules/wechat_qrcode/LICENSE

Thanks,

___
legal mailing list -- legal@lists.fedoraproject.org
To unsubscribe send an email to legal-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/legal@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue