목록전체 글 (78)
코드민수
{ "images": [image], "annotations": [annotation], "categories": [category] } image = { "id": int, "width": int, "height": int, "file_name": str, } annotation = { "id": int, "image_id": int, "category_id": int, "segmentation": RLE or [polygon], "area": float, "bbox": [x,y,width,height], # (x, y) are the coordinates of the upper left corner of the bbox "iscrowd": 0 or 1, } categories = [{ "id": in..
from mpl_toolkits.basemap import Basemap import matplotlib.pyplot as plt plt.figure(figsize=(10, 10)) map = Basemap(projection='merc', lat_0=37.35, lon_0=126.58, resolution='h', urcrnrlat=44, llcrnrlat=32, llcrnrlon=121.5, urcrnrlon=132.5) map.drawcoastlines() map.drawcountries() map.drawmapboundary() plt.savefig('map.png', bbox_inches='tight') plt.savefig() 에 bbox_inches='tight'를 추가하면 됩니다.
윈도우 + 숫자 저는 주로 작업 표시줄에 자주 쓰는 프로그램을 고정해두고 사용합니다. 보통 프로그램을 아이콘 클릭으로 실행하는데, 윈도우 + 숫자로 간편하게 실행이 가능하더라구요. 제 작업 표시줄을 기준으로 윈도우 + 1 = 카카오톡 실행 윈도우 + 2 = 구글 크롬 실행 이렇게 아이콘의 순서에 맞는 숫자를 입력해주시면 됩니다. 자주 사용하는 프로그램을 오른손으로 누를 수 있는 숫자에 두면 편함 윈도우 왼손, 숫자 오른손 작업표시줄에 프로그램 고정은 아이콘 우클릭 후 '작업표시줄에 고정' 누르시면 됩니다.
from glob import glob import numpy as np from osgeo import gdal glob_image_dir = 'D:/temp/image/*.tif' # 이미지 확장자 수정 image_filename_list = glob(glob_image_dir) def load_images(): global image_filename_list image_list = [] for idx, image_filename in enumerate(image_filename_list): image_ds = gdal.Open(image_filename) image = image_ds.ReadAsArray().astype(np.int16) # 0~255 이미지는 int8로 충분 image_list...
https://imagej.net/plugins/labkit/gpu-accelleration-tutorial Labkit - How To Enable And Use GPU Acceleration The ImageJ wiki is a community-edited knowledge base on topics relating to ImageJ, a public domain program for processing and analyzing scientific images, and its ecosystem of derivatives and variants, including ImageJ2, Fiji, and others. imagej.github.io https://clij.github.io/clij2-docs..
https://github.com/idealo/image-super-resolution GitHub - idealo/image-super-resolution: 🔎 Super-scale your images and run experiments with Residual Dense and Adversarial Net 🔎 Super-scale your images and run experiments with Residual Dense and Adversarial Networks. - GitHub - idealo/image-super-resolution: 🔎 Super-scale your images and run experiments with Residual Den... github.com 이미지의 해상도를 높..
1. 찾아 바꾸기 단축키 : Ctrl + R Aa : 대소문자까지 일치할 때만 W : 단어 전체가 일치할 때만 ※ 드래그 하여 범위 선택 후 해당 단축키 사용 시 지정한 범위 내에서만 실행 2. 줄 복사 단축키 : Ctrl + D 해당 라인(혹은 여러 줄)을 바로 아래줄에 복사 3. 커서 다음 줄로 이동 단축키 : Shift + Enter 현재 커서 위치 상관 없이 다음 줄로 이동됩니다. 4. 주석 처리 단축키 : Ctrl + / 여러 줄 선택 시 한 번에 주석처리 가능 5. 다시 실행 (Ctrl + Z 반대) 단축키 : Ctrl + Shift + Z 파이참 말고 다른 프로그램들에서도 대부분 사용 가능 Ctrl + Z 로 취소한 작업을 다시 실행해줍니다. 6. 줄 삭제 + 복사 단축키 : Shift + ..