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
#! /usr/bin/env python3 | |
from ns1 import NS1 | |
import pprint | |
import subprocess | |
import keyboard | |
NS1_API_KEY = "<INSERT API KEY>" | |
ZONE_NAME = '<INSERT ZONE NAME>' |
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 redis | |
import cv2 | |
import numpy as np | |
import time | |
import io | |
from PIL import Image | |
r = redis.StrictRedis.from_url('redis://:password@127.0.0.1:6379/1') | |
img_path ="image" |