最近の記事

び2

<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Image Viewer</title> </head> <body> <h1>Image Viewer</h1> <form method="POST" enctype="multipart/form-data"> <input type="file" name="photo">

    • び1

      import os from flask import Flask, request, render_template, send_from_directory from flask_uploads import UploadSet, configure_uploads, IMAGES from PIL import Image, ImageEnhance import boto3 import numpy as np from io import BytesIO app

      • びゅわ

        import tkinter as tk from tkinter import filedialog, Scale from tkinter import ttk from PIL import Image, ImageTk, ImageEnhance import boto3 import numpy as np from io import BytesIO class ImageViewer: def __init__(self, root):

        • びゅーわ

          import tkinter as tk from tkinter import filedialog, Scale from tkinter import ttk from PIL import Image, ImageTk, ImageEnhance import boto3 import numpy as np from io import BytesIO import matplotlib.pyplot as plt class ImageViewer: d

          ビューワー

          import tkinter as tk from tkinter import filedialog, Scale from tkinter import ttk from PIL import Image, ImageTk, ImageEnhance import boto3 import numpy as np from io import BytesIO import matplotlib.pyplot as plt class ImageViewer: d

          ビューワー

          仮保存

          import boto3 import cv2 import numpy as np import matplotlib.pyplot as plt from io import BytesIO from botocore.exceptions import NoCredentialsError import tempfile import os # AWSの認証情報を設定 aws_access_key_id = 'YOUR_AWS_ACCESS_KEY_ID' aws_s

          めもめもめも

          import cv2 import numpy as np from keras.applications import VGG16 from keras.applications.vgg16 import preprocess_input from keras.preprocessing import image import os # フレームを保存するフォルダを作成 if not os.path.exists('frames_with_zero_crossings')

          めもめもめも

          メモメモ

          import cv2 import numpy as np from keras.applications import VGG16 from keras.applications.vgg16 import preprocess_input from keras.preprocessing import image # 教師データの画像をロードして特徴量を抽出 teacher_image_path = 'path_to_your_teacher_image.jpg' tea

          めも3

          import tkinter as tk # ウィンドウ作成用 from tkinter import filedialog # ファイルを開くダイアログ用 from PIL import Image, ImageTk # 画像データ用 import numpy as np # アフィン変換行列演算用 import os # ディレクトリ操作用 class Application

          メモ2

          import tkinter as tk from tkinter import ttk from PIL import Image, ImageTk class SkyViewer: def __init__(self, root, image_path): self.root = root self.root.title("Sky Image Viewer") # Load image self.

          めも

          import numpy as np import cv2 ## # @brief 3次元座標群切り出し関数 # @details とある視点からとある距離の平面を通る半径1の球の表面を結んだ交点座標群を切り出す # @param img_w 画像の幅(分解能) # @param img_h 画像の高さ(分解能) # @param senser_size センサに見立てた平面の大きさ(0以上の少数) # @param view_point 視点位置 # @param se

          360度読み込みをPythonで

          天球画像を色々いじる import tkinter as tkfrom tkinter import filedialogfrom PIL import Image, ImageTk, ImageChops, ImageOpsimport timeclass PanoramaViewer:def init(self, root): self.root = root self.root.title("Panorama Viewer") self.horizo

          360度読み込みをPythonで

          天球画像ビューワー

          import cv2 import numpy as np import tkinter as tk from tkinter import filedialog from PIL import Image, ImageTk class PanoramaViewer: def __init__(self, root): self.root = root self.root.title("360 Panorama Viewer") # 動画キャプチャや表示状態の初期化 se

          天球画像ビューワー