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 | |
import glob | |
import os | |
import matplotlib.pyplot as plt | |
import numpy as np | |
SIZE = 416 | |
path ="画像フォルダのパス" | |
save_path = "保存先のパス" |
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 glob | |
import cv2 | |
import numpy as np | |
import glob | |
import os | |
from scipy.ndimage.interpolation import rotate | |
from scipy.misc import imresize |
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
from twython import Twython, TwythonError | |
from requests_oauthlib import OAuth1Session | |
import urllib.request | |
import re | |
import time | |
import os | |
from glob import glob | |
import datetime | |
import emoji |
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
from sympy import Symbol, solve, Derivative, Matrix, simplify | |
x = Symbol('x') | |
y = Symbol('y') | |
f = 2*x**3 + 4*x*y**2 - 10*x*y + y**2 | |
f_x = Derivative(f,x).doit() #xで1階偏微分 | |
f_y = Derivative(f,y).doit() #yで1階偏微分 |
OlderNewer