Skip to content

Commit

Permalink
del paddle
Browse files Browse the repository at this point in the history
  • Loading branch information
WenmuZhou committed Sep 5, 2023
1 parent 3994eb6 commit b54462f
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions tools/infer/utility.py
Original file line number Diff line number Diff line change
@@ -1,31 +1,7 @@
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import argparse
import os
import sys
import platform
import cv2
import numpy as np
import paddle
import torch.cuda
from PIL import Image, ImageDraw, ImageFont
import math
from paddle import inference
import time
import random
from ppocr.utils.logging import get_logger


def str2bool(v):
Expand Down

0 comments on commit b54462f

Please sign in to comment.