File name
Commit message
Commit date
import numpy as np
from flask import Flask, request
from flask_restx import Api, Resource, fields
import os
from datetime import datetime
from yoloseg.inference_ import Inference, overlay_mask
import cv2
import time
import base64
app = Flask(__name__)
api = Api(app, version='1.0', title='Detection postprocessing component',
description='A postprocessing that dynamically decides how frequently send image and detection result')
# Namespace definition
ns = api.namespace('cctv', description='CCTV operations')