This commit is contained in:
parent
3f28718d4e
commit
077bdcffd4
30
camdetect.py
30
camdetect.py
@ -1,19 +1,19 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
import aiohttp
|
import aiohttp
|
||||||
import asyncio
|
import asyncio
|
||||||
import cv2
|
import cv2
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import os
|
import os
|
||||||
import json
|
import json
|
||||||
import socket
|
import socket
|
||||||
import sys
|
import sys
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from jpeg2dct.numpy import loads
|
from jpeg2dct.numpy import loads
|
||||||
from prometheus_client import Counter, Gauge
|
from prometheus_client import Counter, Gauge
|
||||||
from sanic import Sanic, response
|
from sanic import Sanic, response
|
||||||
from sanic.response import stream
|
from sanic.response import stream
|
||||||
from sanic_prometheus import monitor
|
from sanic_prometheus import monitor
|
||||||
from time import time
|
from time import time
|
||||||
|
|
||||||
_, url = sys.argv
|
_, url = sys.argv
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user