semvec/pypi-packages huggingface dataset:
number-recognition 1.0.5
Recognize numbers from an (28 x 28) image using neural networks
License: MIT

# Number recognition

Recognize numbers from a `28 x 28` image using neural networks

## Usage

This is an example of a simple usage of `number-recognition`

**NOTE**: This number recognizer uses images with size 28 x 28 pixes, you can resize it by using an external library like:

* PIL

```python

from number_recognition import NumberRecognizer

n = NumberRecognizer()

n.init() # create a model
n.load() # load the model

num = n.recognize('path/to/image_28x28.png') # recognise the image
print(f"the number is {num}")
```

## LICENSE

```
The MIT License (MIT)

Copyright (c) 2021 mauro-balades <mauro.balades@tutanota.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
```
anystringtolower 1.0.1
Transform any string with accent and without accent to lower case
License: MIT
Keywords: core package

===
TRANSFORM ANY STRING TO LOWER
===

Transform any string with accent and without accent to lower case

Detailed documentation is in the "docs" directory.

## Quick start

1. Install the module:

   pip install anystrintolower

2. EXAMPLE

   from anystringtolower.job import stringToLower

   string= 'Ã Ã©ÃªÃ¶HELLO'

   lower_string = stringToLower(string)

   print(lower_string)

   You should have something like this in outpout :
   _aeeohello_
imgtobase64 1.1.1
Convert your image url from web or your image field from database to base64
License: MIT
Keywords: core package

===
CONVERT IMAGE TO BASE64
===

IMGTOBASE64 convert your image url from web or your image field from database to base64

Detailed documentation is in the "docs" directory.

## Quick start

1. Install the module:

   pip install imgtobase64

2. CASE OF IMAGE FROM WEB URL

   from imgtobase64.job import png_to_base64

   web_url = "https://sb.kaleidousercontent.com/67418/800x533/a5ddfb21a6/persons3-nobg.png"

   image_base4 = png_to_base64(web_url)

3. CASE OF IMAGE FROM FIELD OF A TABLE ON YOUR DB

   `We have a table named **Banner** with attribute **name image and description** so :
   So if we want tranform image to base64 to print blog on pdf,we will do this:

   import **imgtobase64**

   image_base4 = imgtobase64(banner.image)`