semvec/pypi-packages huggingface dataset:
vlamalib 0.0.2
Vlamaz AI utils package
Keywords: python, machine learning, data, llama3, ai


# vlamalib

Under construction! Not ready for use yet! Currently experimenting and planning!

Developed by Vladyslav Mazurkevych from Vlamaz (c) 2024

## Examples of How To Use (Buggy Alpha Version)

Calling the function `hello()` from the `vlamalib` package:

```python
from vlamalib import hello

hello()
```
theosocr 1.0
A simple Theos library using Theos API
Requires Python: >=3.6

# TheosOCR

This is a simple OCR library that uses the Theos OCR API to extract text from images.

## Installation

```bash
pip install theosocr
```
## use 
```python
from theosocr import theos_ocr_file, theos_ocr_base64

# OCR iÅŸlemi yapÄ±lacak dosya adÄ±
file_path = 'path_to_your_image.png'

# Dosya yoluyla OCR iÅŸlemi
result_file = theos_ocr_file(file_path)

# Base64 stringi oluÅŸturma
def image_to_base64(file_path):
    with open(file_path, 'rb') as image_file:
        base64_bytes = base64.b64encode(image_file.read())
        base64_string = base64_bytes.decode('utf-8')
    return base64_string

base64_image = image_to_base64(file_path)

# Base64 ile OCR iÅŸlemi
result_base64 = theos_ocr_base64(base64_image)

# SonuÃ§larÄ± yazdÄ±rÄ±n
print("Dosya yoluyla OCR Sonucu:")
print(result_file)

print("\nBase64 ile OCR Sonucu:")
print(result_base64)
```