Skip to content

Instantly share code, notes, and snippets.

View Princekrampah's full-sized avatar
😃
Out sick

Prince Krampah Princekrampah

😃
Out sick
View GitHub Profile
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
@Princekrampah
Princekrampah / main_etl.py
Created September 1, 2024 07:40
Main ETL code for GraphRAG Project Series
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()