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 logging | |
from retry import retry | |
from dotenv import load_dotenv | |
from neo4j import GraphDatabase | |
import pandas as pd | |
# Load environment variables | |
load_dotenv() |
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 | |
# we load in the image | |
img = cv2.imread("images/image1.jpg") | |
h, w, c = img.shape | |
print(f"Height: {h}, width: {w}, channels: {c}") | |
# we create a window and display the image |