Skip to content

Instantly share code, notes, and snippets.

View Hrushi20's full-sized avatar
🕛
Bored

Hrushikesh Hrushi20

🕛
Bored
View GitHub Profile
@ogl4jo3
ogl4jo3 / blaze_face_detect.py
Created September 11, 2019 07:22
Demo BlazeFace model.
import cv2
import time
import math
import numpy as np
import tensorflow as tf
class SsdAnchorsCalculatorOptions:
def __init__(self, input_size_width, input_size_height, min_scale, max_scale
, num_layers, feature_map_width, feature_map_height
, strides, aspect_ratios, anchor_offset_x=0.5, anchor_offset_y=0.5