Skip to content

Instantly share code, notes, and snippets.

View masedki's full-sized avatar

Sedki M. A. masedki

View GitHub Profile
@masedki
masedki / Marking_ROI.py
Created February 1, 2023 12:39 — forked from akash-ch2812/Marking_ROI.py
Python code for marking regions of interest in an image for OCR
# use this command to install open cv2
# pip install opencv-python
# use this command to install PIL
# pip install Pillow
import cv2
from PIL import Image
def mark_region(imagE_path):
@masedki
masedki / download_bars.py
Created November 1, 2020 20:53 — forked from wrighter/download_bars.py
A command line utility to download historical data from Interactive Brokers
#!/usr/bin/env python
import os
import sys
import argparse
import logging
from datetime import datetime, timedelta
from typing import List, Optional
from collections import defaultdict
@masedki
masedki / cuda_installation_on_ubuntu_18.04
Created July 18, 2020 22:01 — forked from andyweizhao/cuda_installation_on_ubuntu_18.04
cuda 9.0 complete installation procedure for ubuntu 18.04 LTS
#!/bin/bash
## This gist contains step by step instructions to install cuda v9.0 and cudnn 7.3 in ubuntu 18.04
### steps ####
# verify the system has a cuda-capable gpu
# download and install the nvidia cuda toolkit and cudnn
# setup environmental variables
# verify the installation
###