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 numpy as np | |
import matplotlib.pyplot as plt | |
x = np.arange(0, 2*np.pi, 2*np.pi/100) | |
sinx = np.sin(x) | |
plt.plot(x, sinx); |
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
x <- seq(0, 2 * pi, length = 100) | |
sinx <- sin(x) | |
plot(x, sinx, type = "l") |
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 cv2 | |
from itertools import chain | |
import base64 | |
import pandas as pd | |
import requests | |
import json | |
def ocr_using_google_api(image_path, request_url): | |
''' |