This file contains hidden or 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
| error connecting to host: could not connect to server: server selection error: server selection timeout, current topology: { Type: Single, Servers: [{ Addr: cluster0.ior1q.mongodb.netnet:27017, Type: Unknown, State: Connected, Average RTT: 0, Last error: connection() : dial tcp 177.8.165.194:27017: i/o timeout }, ] } |
This file contains hidden or 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
| https://drive.google.com/file/d/1b9sawsd-FolUGf-yUiBrM4r2aHJfn-QH/view?usp=sharing | |
| https://drive.google.com/file/d/1NY4FQ6G2KpuF-xVPWCdTxqF7AUECSB1P/view?usp=sharing |
This file contains hidden or 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
| prometheus: | |
| image: prometheus:latest | |
| restart: always | |
| build: | |
| context: .docker/prometheus | |
| dockerfile: Dockerfile | |
| networks: | |
| - frontend | |
| - backend |
This file contains hidden or 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 logging | |
| import re | |
| from django.conf import settings | |
| from django.http import JsonResponse | |
| from keycloak import KeycloakOpenID, KeycloakInvalidTokenError | |
| from rest_framework.exceptions import PermissionDenied, NotAuthenticated, AuthenticationFailed | |
| logger = logging.getLogger(__name__) |
This file contains hidden or 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
| #!/bin/bash | |
| echo "Exportando OpenCV" | |
| export OpenCV_DIR="/content/drive/MyDrive/Libs/opencv/opencv/build/" | |
| clear | |
| echo "Construindo Darknet" | |
| cd /content/ | |
| git clone https://github.com/AlexeyAB/darknet | |
| cd /content/darknet |
This file contains hidden or 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 math import atan2, sqrt, pi, sin, cos | |
| import cv2 | |
| import numpy as np | |
| from shapely import LineString | |
| from shapely.geometry import Point, Polygon | |
| class MeasurementLens: |
OlderNewer