One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| import cv2 | |
| import numpy as np | |
| FONTE = cv2.FONT_HERSHEY_SIMPLEX | |
| img_binaria = cv2.imread('formas_binario.jpg') | |
| blurred = cv2.GaussianBlur(img_binaria, (5, 5), 0) | |
| img_binaria_gray = cv2.cvtColor(blurred, cv2.COLOR_BGR2GRAY) |
| from shutil import copy | |
| from sys import argv | |
| NAMES = ["drawable-hdpi-icon.png", "drawable-ldpi-icon.png", "drawable-mdpi-icon.png", "drawable-xhdpi-icon.png", "drawable-xxhdpi-icon.png", "drawable-xxxhdpi-icon.png"] | |
| #execute python icon_rename.py nome_do_icone.png | |
| if len(argv) < 2: | |
| print "Falta argumentos!" | |
| exit() |
| { | |
| "RJ": ["TJRJ", "TRE-RJ", "TRT-1"], | |
| "BA": ["TJBA", "TRE-BA", "TRT-5"], | |
| "AC": ["TJAC", "TRE-AC", "TRT-14"], | |
| "AL": ["TJAL", "TRE-AL", "TRT-19"], | |
| "AM": ["TJAM", "TRE-AM", "TRT-11"], | |
| "AP": ["TJAP", "TRE-AP", "TRT-8"], | |
| "CE": ["TJCE", "TRE-CE", "TRT-7"], | |
| "DF": ["TJDF", "TRE-DF", "TRT-10"], | |
| "ES": ["TJES", "TRE-ES", "TRT-17"], |