Skip to content

Instantly share code, notes, and snippets.

@uchidama
uchidama / overlay_alpha_png_rot_and_contour_python_opencv.ipynb
Last active August 15, 2019 18:33
rotate and overlay alpha png on jpg in python-opencv
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@uchidama
uchidama / pillow_with_opencv.ipynb
Last active March 12, 2018 09:42
Pillow to OpenCV in python
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@uchidama
uchidama / pillow_with_opencv_findContours.ipynb
Last active January 13, 2024 15:57
Pillow to Opencv to find Contours, and back to Pillow Image.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@uchidama
uchidama / titanic_data_view.ipynb
Last active April 25, 2018 08:46
My analysis sketch of Kaggle Titanic Competition train data.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@uchidama
uchidama / raspi_photo.py
Last active May 22, 2018 11:05
Every time it executes, take a picture with 1 added file name
import subprocess
import os
def take_picture(file_name):
print('raspistill')
args = ['raspistill', '-o', file_name]
res = subprocess.check_call(args)
print(res)
@uchidama
uchidama / keras_fashion-mnist_prediction_similar_images.ipynb
Last active May 28, 2018 11:30
Find similar images by arranging feature vectors of the convolution neural network in closest order.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@uchidama
uchidama / keras_boston_housing_simple_viewer.ipynb
Last active August 17, 2018 10:22
Boston housing price regression dataset viewer using keras.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@uchidama
uchidama / lightgbm_wine_dataset.ipynb
Last active March 13, 2019 08:23
To predict wine data on scikit-learn by LightGBM
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.