The application is built using the Django web framework
There will be a frontend for normal users and backend for administrators.
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
{ | |
"hook": { | |
"target": "https://webhook.site/3d1d46aa-ee9d-49ba-bd5f-6e8ab14ff3de", | |
"id": "camera-1", | |
"event": "recognition", | |
"filename": "camera-1_screenshots/21-09-29/05-56-13.606935.jpg" | |
}, | |
"data": { | |
"camera_id": "camera-1", | |
"filename": "camera-1_screenshots/21-09-29/05-56-13.606935.jpg", |
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
{ | |
"original_width": 2373, | |
"original_height": 1582, | |
"results": [ | |
{ | |
"texts": [ | |
{ | |
"value": "3186881", | |
"score": 0.94188763 | |
} |
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 requests | |
API_TOKEN = '4805bee1222ce85e#############################' | |
gcPlateRecognizerToken = '98f98d713ba11###########################' | |
glDebug = True | |
def run_rec(i): | |
with open(i, 'rb') as fp: |
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 java.io.*; | |
import java.net.HttpURLConnection; | |
import java.net.URL; | |
import java.net.URLConnection; | |
public class PlaterecognizerLookupMemory { | |
static final String charset = "UTF-8"; | |
static final String PLATERECOGNIZER_API_TOKEN = "08b1a7048080dfef0bf######################"; |
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 subprocess | |
import time | |
import humanfriendly | |
MAX_CAPTURES = 4 | |
DOCKER = 'docker' # | |
# DOCKER = 'docker -H=satellite:2376' | |
def main(stop): | |
samples = [] # |
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 os | |
import requests | |
# API_TOKEN = '77c2fabd94b7d0c9b6ac63c4###################' | |
DIRECTORY = '/tmp/SonnyCarwash-Genetech-US/' | |
regions = ['in'] # Change to your country | |
def run_rec(i): |
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
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"io" | |
"net" | |
"net/http" | |
"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
{ | |
"name": "l1", | |
"version": "1.0.0", | |
"description": "", | |
"main": "remote_img_recognizer.js", | |
"dependencies": { | |
"form-data": "^3.0.0", | |
"node-fetch": "^2.6.0" | |
}, | |
"devDependencies": {}, |
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
// Run this in the F12 javascript console in chrome | |
// if a redirect happens, the page will pause | |
// this helps because chrome's network tab's | |
// "preserve log" seems to technically preserve the log | |
// but you can't actually LOOK at it... | |
// also the "replay xhr" feature does not work after reload | |
// even if you "preserve log". | |
window.addEventListener("beforeunload", function() { debugger; }, false) |