Spaces:
Running
Running
pelinbalci
commited on
Commit
•
6cd04a8
1
Parent(s):
3ba81aa
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import numpy as np
|
|
3 |
import streamlit as st
|
4 |
import easyocr
|
5 |
import PIL
|
6 |
-
from PIL import Image
|
7 |
|
8 |
def rectangle(image, result):
|
9 |
# https://www.blog.pythonlibrary.org/2021/02/23/drawing-shapes-on-images-with-python-and-pillow/
|
|
|
3 |
import streamlit as st
|
4 |
import easyocr
|
5 |
import PIL
|
6 |
+
from PIL import Image, ImageDraw
|
7 |
|
8 |
def rectangle(image, result):
|
9 |
# https://www.blog.pythonlibrary.org/2021/02/23/drawing-shapes-on-images-with-python-and-pillow/
|