This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import collections | |
from functools import reduce, partial | |
from operator import getitem | |
from logger import setup_logging | |
from omegaconf import OmegaConf | |
class ConfigParser: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ultralytics | |
from ultralytics import YOLO | |
import matplotlib.pyplot as plt | |
import cv2 | |
import numpy as np | |
print(ultralytics.__version__) | |
def crop_obb(image, obb): | |
""" Crop the Oriented Bounding Box (OBB) """ |
OlderNewer