Skip to content

Commit

Permalink
1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
louisbrulenaudet committed Jan 29, 2024
1 parent fe05c39 commit 8fba9da
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 84 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Here's an example of the entire process:
from apple_ocr.ocr import OCR
from PIL import Image

image = Image open("your_image.png")
image = Image.open("your_image.png")
ocr_instance = OCR(image=image)
dataframe = ocr_instance.recognize()
cluster_labels = ocr_instance.cluster(dataframe, num_clusters=3)
Expand Down
48 changes: 48 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[project]
name = "apple-ocr"
version = "1.0.8"
description = "An OCR (Optical Character Recognition) utility for text extraction from images."
readme = "README.md"
keywords = ["OCR", "image-recognition", "text-extraction", "clustering", "Apple Vision", "NLP", "LLM", "data"]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules"
]

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[options]
packages = ["find:"]
install_requires = [
"torch",
"numpy",
"pandas",
"Pillow",
"scikit-learn",
"plotly",
"pyobjc"
]

[metadata]
name = "apple-ocr"
version = "1.0.8"
license = "Apache License 2.0"
author = "Louis Brulé Naudet"
author_email = "[email protected]"
description = "An OCR (Optical Character Recognition) utility for text extraction from images."
long_description = "file: README.md"
long_description_content_type = "text/markdown"
url = "https://github.com/louisbrulenaudet/apple-ocr"
homepage = "https://github.com/louisbrulenaudet/apple-ocr"
project_urls = {repository = "https://github.com/louisbrulenaudet/apple-ocr"}
keywords = "OCR, image-recognition, text-extraction, clustering, Apple Vision, NLP, LLM, data"
39 changes: 0 additions & 39 deletions setup.cfg

This file was deleted.

41 changes: 0 additions & 41 deletions setup.py

This file was deleted.

Binary file renamed apple_ocr/.DS_Store → src/.DS_Store
Binary file not shown.
4 changes: 1 addition & 3 deletions apple_ocr/__init__.py → src/apple_ocr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@

# This file can be empty, or you can define package-level variables or settings here.
# For example, you might define a variable like this:
# version = "1.0.0"

from ocr.py import OCR
# version = "1.0.0"
File renamed without changes.

0 comments on commit 8fba9da

Please sign in to comment.