Re: graphics/quirc: new port

2016-08-25 Thread Dmitrij D. Czarkoff
"Dmitrij D. Czarkoff"  wrote:

>Updated port:
>
> - pkg/DESCR fix from sthen@ and 
> - tuned to recognize smaller QR codes in larger images \
> at expense of slightly
>   higher memory footprint.
>
>OK?

ping



Re: graphics/quirc: new port

2016-08-16 Thread Dmitrij D. Czarkoff
Updated port:

 - pkg/DESCR fix from sthen@ and 
 - tuned to recognize smaller QR codes in larger images at expense of slightly
   higher memory footprint.

OK?


libquirc-0.0.20160815.tgz
Description: application/gzip


Re: graphics/quirc: new port

2016-08-16 Thread Stuart Henderson
On 2016/08/16 02:00, Dmitrij D. Czarkoff wrote:
> Hi!
> 
> pkg/DESCR:
> 
> | Quirc is a library for extracting and decoding them from images. It has 
> several
   
replace "them" with "QR codes"?

> Port depends on SDL because of 'quirc-demo' utility that scans QR codes using
> v4l2 device while displaying the image to user.  While handy, it is a bit
> redundant to another utility from the same port - 'quirc-scanner' - which also
> scans QR codes using v4l2 device but without showing images.  I wonder whether
> dependency on SDL is a good reason to split the port in subpackages.

I don't think it's really a problem to have a dependency on SDL, it's
not a library that is likely to be very widely used in other software,
and SDL isn't all that large.



graphics/quirc: new port

2016-08-15 Thread Dmitrij D. Czarkoff
Hi!

pkg/DESCR:

| Quirc is a library for extracting and decoding them from images. It has 
several
| features which make it a good choice for this purpose:
| 
|   * It is fast enough to be used with realtime video: extracting and
| decoding from VGA frame takes about 50 ms on a modern x86 core.
| 
|   * It has a robust and tolerant recognition algorithm. It can
| correctly recognise and decode QR codes which are rotated and/or
| oblique to the camera. It can also distinguish and decode multiple
| codes within the same image.
| 
|   * It is easy to use, with a simple API described in a single
| commented header file (see below for an overview).
| 
|   * It is small and easily embeddable, with no dependencies other than
| standard C functions.
| 
|   * It has a very small memory footprint: one byte per image pixel,
| plus a few kB per decoder object.
| 
|   * It uses no global mutable state, and is safe to use in a
| multithreaded application.
| 
|   * BSD-licensed, with almost no restrictions regarding use and/or
| modification.

I use it for sending URLs and small chunks of text from my phone to my laptop.

Port depends on SDL because of 'quirc-demo' utility that scans QR codes using
v4l2 device while displaying the image to user.  While handy, it is a bit
redundant to another utility from the same port - 'quirc-scanner' - which also
scans QR codes using v4l2 device but without showing images.  I wonder whether
dependency on SDL is a good reason to split the port in subpackages.

--
Dmitrij D. Czarkoff


libquirc-0.0.20160815.tgz
Description: application/gzip