Skip to content

Commit 4f35736

Browse files
author
rohitcoder
committed
Added Slack Attachment scanner
1 parent 942ee74 commit 4f35736

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

enhanced_image.png

-8.31 KB
Binary file not shown.

hawk_scanner/internals/system.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,8 @@ def enhance_and_ocr(image_path):
553553

554554
# Perform OCR on the enhanced image
555555
ocr_text = perform_ocr(enhanced_image)
556+
## delete the enhanced image
557+
os.remove("enhanced_image.png")
556558

557559
return ocr_text
558560

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = "0.3.24"
1+
VERSION = "0.3.25"
22

33
from setuptools import setup, find_packages
44

0 commit comments

Comments
 (0)