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 cv2 | |
print(cv2.__version__) |
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 lib of openCV | |
import cv2 | |
#import the haarcascade frontl face | |
classifier =cv2.CascadeClassifier('cascades\haarcascade_frontalface_default.xml') | |
#import the haarcascade eye face | |
eyeClassifier= cv2.CascadeClassifier('cascades\haarcascade_eye.xml') | |
#import the haarcascede smile face |
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
' Create multiple Outlook distribution lists from Excel spreadsheet | |
' by Andy Younie http://www.planetmediocrity.com | |
' Heavily based on JP's code which can be found at | |
' http://www.jpsoftwaretech.com/automatically-update-outlook-distribution-lists-from-excel/ | |
Const olDistributionListItem = 7 | |
Const olFolderContacts = 10 | |
Sub MaintainDistList() | |
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
Private Sub AList_AfterUpdate() | |
On Error Resume Next | |
Dim myOlApp As New Outlook.Application | |
Dim myNameSpace As Outlook.NameSpace | |
Dim myDistList As Outlook.DistListItem | |
Dim myTempItem As Outlook.MailItem | |
Dim myRecipients As Outlook.Recipients | |
Dim objcontacts As Outlook.MAPIFolder | |
Dim objcontact As Outlook.ContactItem |
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
from __future__ import print_function | |
import cv2 | |
import numpy as np | |
import align_images as align | |
import findGabarito as gabarito | |
import contornosInternos | |
import bubble as bubble | |
import imutils | |
from imutils.perspective import four_point_transform | |
from imutils import contours |
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
from __future__ import print_function | |
import cv2 | |
import numpy as np | |
import align_images as align | |
import findGabarito as gabarito | |
import contornosInternos | |
import bubble as bubble | |
import imutils | |
from imutils.perspective import four_point_transform | |
from imutils import contours |
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
var spawn = require('child_process').spawn, | |
py = spawn('python', ['score.py']), | |
data = [], | |
dataString = ''; | |
py.stdout.on('data', function(data){ | |
dataString += data.toString(); | |
}); | |
py.stdout.on('end', function(){ | |
console.log(dataString); |
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 random | |
import json | |
import datetime | |
from json import dumps | |
def main(): | |
score = random.randint(1,999) | |
#print(score) | |
dateDaConsulta = str(datetime.datetime.now()) |
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
from PIL import Image | |
import os, sys | |
path = "C:\\Users\\Andre\\Desktop\\HelmetDetection\\dowloadImages\\downloads" | |
#path = "C:\\Users\\Andre\\Desktop\\HelmetDetection\\dowloadImages\\downloads\\ hard hat" | |
dirs = os.listdir( path ) | |
final_size = 60 |
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
2020-05-20T14:00:08.335-0300 connected to: mongodb+srv://[**REDACTED**]@cluster0.ior1q.mongodb.net/extracoes | |
2020-05-20T14:00:08.385-0300 Failed: read error on entry #1: line 2, column 1: bare " in non-quoted-field | |
2020-05-20T14:00:08.385-0300 0 document(s) imported successfully. 0 document(s) failed to import. |
OlderNewer