PDG commited on
Commit
459a380
·
1 Parent(s): 59b67b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,11 +12,11 @@ from PIL import Image
12
  # -- install pre-build detectron2
13
  os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
14
  os.system('pip install pyyaml==5.1')
15
- os.system('pip install opencv-python')
16
 
17
  import detectron2
18
 
19
  from detectron2.utils.logger import setup_logger # ????
 
20
 
21
  from detectron2 import model_zoo
22
  from detectron2.engine import DefaultPredictor
 
12
  # -- install pre-build detectron2
13
  os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
14
  os.system('pip install pyyaml==5.1')
 
15
 
16
  import detectron2
17
 
18
  from detectron2.utils.logger import setup_logger # ????
19
+ from google.colab.patches import cv2_imshow
20
 
21
  from detectron2 import model_zoo
22
  from detectron2.engine import DefaultPredictor