Skip to content

Commit 8fba9da

Browse files
1.0.8
1 parent fe05c39 commit 8fba9da

File tree

8 files changed

+50
-84
lines changed

8 files changed

+50
-84
lines changed

.DS_Store

0 Bytes
Binary file not shown.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Here's an example of the entire process:
5858
from apple_ocr.ocr import OCR
5959
from PIL import Image
6060

61-
image = Image open("your_image.png")
61+
image = Image.open("your_image.png")
6262
ocr_instance = OCR(image=image)
6363
dataframe = ocr_instance.recognize()
6464
cluster_labels = ocr_instance.cluster(dataframe, num_clusters=3)

pyproject.toml

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
[project]
2+
name = "apple-ocr"
3+
version = "1.0.8"
4+
description = "An OCR (Optical Character Recognition) utility for text extraction from images."
5+
readme = "README.md"
6+
keywords = ["OCR", "image-recognition", "text-extraction", "clustering", "Apple Vision", "NLP", "LLM", "data"]
7+
classifiers = [
8+
"Programming Language :: Python",
9+
"Programming Language :: Python :: 3",
10+
"Intended Audience :: Education",
11+
"Intended Audience :: Science/Research",
12+
"License :: OSI Approved :: Apache Software License",
13+
"Topic :: Scientific/Engineering",
14+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
15+
"Topic :: Software Development",
16+
"Topic :: Software Development :: Libraries",
17+
"Topic :: Software Development :: Libraries :: Python Modules"
18+
]
19+
20+
[build-system]
21+
requires = ["setuptools>=61.0"]
22+
build-backend = "setuptools.build_meta"
23+
24+
[options]
25+
packages = ["find:"]
26+
install_requires = [
27+
"torch",
28+
"numpy",
29+
"pandas",
30+
"Pillow",
31+
"scikit-learn",
32+
"plotly",
33+
"pyobjc"
34+
]
35+
36+
[metadata]
37+
name = "apple-ocr"
38+
version = "1.0.8"
39+
license = "Apache License 2.0"
40+
author = "Louis Brulé Naudet"
41+
author_email = "[email protected]"
42+
description = "An OCR (Optical Character Recognition) utility for text extraction from images."
43+
long_description = "file: README.md"
44+
long_description_content_type = "text/markdown"
45+
url = "https://github.com/louisbrulenaudet/apple-ocr"
46+
homepage = "https://github.com/louisbrulenaudet/apple-ocr"
47+
project_urls = {repository = "https://github.com/louisbrulenaudet/apple-ocr"}
48+
keywords = "OCR, image-recognition, text-extraction, clustering, Apple Vision, NLP, LLM, data"

setup.cfg

-39
This file was deleted.

setup.py

-41
This file was deleted.

apple_ocr/.DS_Store src/.DS_Store

6 KB
Binary file not shown.

apple_ocr/__init__.py src/apple_ocr/__init__.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22

33
# This file can be empty, or you can define package-level variables or settings here.
44
# For example, you might define a variable like this:
5-
# version = "1.0.0"
6-
7-
from ocr.py import OCR
5+
# version = "1.0.0"
File renamed without changes.

0 commit comments

Comments
 (0)