Skip to content

Instantly share code, notes, and snippets.

View Viceriel's full-sized avatar

Jakub Kajan Viceriel

View GitHub Profile
@Viceriel
Viceriel / experiment.py
Last active October 19, 2021 08:58
Numpy implementation of yolov3 post processing of inference
from PIL import Image, ImageFont, ImageDraw
import numpy as np
from keras import backend as K
from keras.models import load_model
from keras.layers import Input
from yolo3.model import yolo_eval, yolo_body, tiny_yolo_body
from yolo3.utils import letterbox_image
import os
import tensorflow as tf
from timeit import default_timer as timer