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
.org $8000 | |
.org $ff00 | |
XAML = $24 ; Last "opened" location Low | |
XAMH = $25 ; Last "opened" location High | |
STL = $26 ; Store address Low | |
STH = $27 ; Store address High | |
L = $28 ; Hex value parsing Low | |
H = $29 ; Hex value parsing High | |
YSAV = $2A ; Used to see if hex value is given |
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
# -*- coding: utf-8 -*- | |
# Copyright (c) 2017-present, Facebook, Inc. | |
# All rights reserved. | |
# | |
# This source code is licensed under the BSD-style license found in the | |
# LICENSE file in the root directory of this source tree. An additional grant | |
# of patent rights can be found in the PATENTS file in the same directory. | |
from __future__ import absolute_import, division, print_function |
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 python | |
from __future__ import print_function, division | |
from PIL import Image | |
from argparse import ArgumentParser | |
from sys import stderr | |
from pysstv import color, grayscale | |
SSTV_MODULES = [color, grayscale] |
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
''' | |
Image classification (primarily used for classifying cars) using OpenCV/DNN module. | |
Left-click and drag to select region and send image to classifier | |
Right-click to go to next image in folder | |
''' | |
import cv2 | |
import numpy as np | |
import os |
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 pickle | |
import hashlib | |
import requests | |
#Make sure the cache directory exists | |
class CachedSession(requests.Session): | |
cache_format = "{cache_dir}/res_{hash}_obj.bin" | |
cache_dir = "./cache" |