File tree 7 files changed +7
-3
lines changed
7 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ img.show()
29
29
30
30
## Examples
31
31
32
- ![ alt-text-1] ( https://github.com/johnathanchiu/recursive-segmentation/blob/main/examples/outputs/apple_output.jpg " title-1 ") ![ alt-text-2] ( https://github.com/johnathanchiu/recursive-segmentation/blob/main/examples/outputs/dell_output.jpg " title-2 ")
32
+ ![ Image 1] ( https://raw.githubusercontent.com/johnathanchiu/recursive-segmentation/main/examples/outputs/apple_output.jpg )
33
+ ![ Image 2] ( https://raw.githubusercontent.com/johnathanchiu/recursive-segmentation/main/examples/outputs/dell_output.jpg )
33
34
34
35
See ` main.py ` or ` ex.ipynb ` for examples on how to draw the images.
35
36
Original file line number Diff line number Diff line change 1
1
from PIL import Image , ImageDraw
2
2
import pdfplumber
3
3
4
- from segmentor .document .segment import segment_pdf_page , segment_pdf_image
4
+ from xyseg .document .segment import segment_pdf_page , segment_pdf_image
5
5
6
6
pdf_file = "examples/pdfs/san-jose-pd-firearm-sample.pdf"
7
7
Original file line number Diff line number Diff line change 1
1
[project ]
2
- name = " xy-segmentation "
2
+ name = " xyseg "
3
3
version = " 0.0.1"
4
4
description = " Recursive Segmentation Algorithm"
5
5
readme = " README.md"
@@ -22,6 +22,9 @@ packages = []
22
22
requires = [" hatchling" ]
23
23
build-backend = " hatchling.build"
24
24
25
+ [tool .hatch .build .targets .wheel ]
26
+ include = [" xyseg/**/*.py" , " LICENSE" , " README.md" ]
27
+
25
28
[project .urls ]
26
29
Homepage = " https://github.com/johnathanchiu/recursive-segmentation"
27
30
Issues = " https://github.com/johnathanchiu/recursive-segmentation/issues"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments