Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support set gpu_id when inference #8926

Merged
merged 14 commits into from
Jan 30, 2023
Prev Previous commit
Next Next commit
add lanms-neo for drrg
  • Loading branch information
LDOUBLEV committed Nov 2, 2022
commit 501a6777c73af722bed830bf5e2c1a6ab1514739
2 changes: 2 additions & 0 deletions ppocr/data/imaug/drrg_targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

import cv2
import numpy as np
from ppocr.utils.utility import check_install
check_install('lanms', 'lanms-neo')
from lanms import merge_quadrangle_n9 as la_nms
from numpy.linalg import norm

Expand Down