Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mahnyb committed Aug 25, 2024
1 parent 3a230b4 commit 816f9f4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions api.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
API_KEY = "bVao5SGcDuY8aZ4OHrwe"
8 changes: 6 additions & 2 deletions car_plate_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@
import pytesseract
import cv2
import numpy as np
from dotenv import load_dotenv
import os as os

load_dotenv() # loads variable from .env file

# roboflow API details
API_KEY = "bVao5SGcDuY8aZ4OHrwe"
API_KEY = os.getenv('API_KEY')
PROJECT_ID = "car-plate-detection-2efss"
VERSION = "2024-07-26 7:41am"
VERSION = "v1"

def detect_car_plate(image_path):
"""
Expand Down
1 change: 1 addition & 0 deletions tempCodeRunnerFile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
API_KEY = os.getenv('API_KEY')

0 comments on commit 816f9f4

Please sign in to comment.