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/python3 | |
import sys | |
from Crypto import Random | |
from Crypto.Cipher import AES | |
import argparse | |
class Initialize: | |
def argsparser(self): |
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 PIL | |
from PIL import Image,ImageTk | |
import pytesseract | |
import cv2 | |
from tkinter import * | |
width, height = 1920, 1080 | |
cap = cv2.VideoCapture(0) | |
cap.set(cv2.CAP_PROP_FRAME_WIDTH, width) | |
cap.set(cv2.CAP_PROP_FRAME_HEIGHT, height) |
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
''' | |
Usage: python3 classgen.py --input path >> train.txt | |
''' | |
import os | |
import argparse | |
def argsparser(): | |
''' | |
To use arguments from command line. |
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
''' | |
Usage: python3 rename.py --input path1 --output path2 | |
''' | |
import os | |
import argparse | |
def argsparser(): | |
''' | |
To use arguments from command line. |
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
sudo rm -rf /var/lib/apt/lists/partial | |
sudo apt-get update -o Acquire::CompressionTypes::Order::=gz |
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
/* | |
Connections | |
VCC ----- 5V/3.3V | |
GND ----- GND | |
SCL -----> D12 | |
SDO -----> D13 | |
Note: If using 3.3V logic boards like Pro Mini or ESP8266, connect VCC to 3.3V. | |
*/ |
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
/*Method to enter AT | |
* Connections: | |
* Arduino/Esp8266 HM10 | |
* GND GND | |
* 5V 5V | |
* RX RX | |
* TX TX | |
* Open Serial Monitor. Set the Baud to 9600 with NL&CR. Test for AT. | |
*/ |
NewerOlder