๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
  • Tried. Failed. Logged.
728x90

์ „์ฒด ๊ธ€720

OCR - ํ…Œ์„œ๋ž™ํŠธ(Tesseract) ์œˆ๋„์šฐ ๋ฒ„์ „ ์„ค์น˜ https://github.com/UB-Mannheim/tesseract/wiki GitHub - UB-Mannheim/tesseract: Tesseract Open Source OCR Engine (main repository) Tesseract Open Source OCR Engine (main repository) - GitHub - UB-Mannheim/tesseract: Tesseract Open Source OCR Engine (main repository) github.com 2022. 5. 17.
์ฝ˜์†”์ฐฝ ๋ฐ”๋กœ ๊บผ์ง€์ง€ ์•Š๊ฒŒ ๋ฐฉ์ง€ํ•˜๊ธฐ app.exe :_loop pause goto _loop ์‹คํ–‰.bat 2022. 5. 15.
VSCode ์šฐํด๋ฆญ์œผ๋กœ ํŒŒ์ผ ๋ฐ”๋กœ ์—ด๊ธฐ Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\Open with VS Code] @="Edit with VS Code" "Icon"="C:\\\\Users\\\\[์‚ฌ์šฉ์ž ์ด๋ฆ„]\\\\AppData\\\\Local\\\\Programs\\\\Microsoft VS Code\\\\Code.exe,0" [HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command] @="\"C:\\Users\\[์‚ฌ์šฉ์ž ์ด๋ฆ„]\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe\" \"%1\"" 2022. 5. 12.
PyQt - ์Šคํƒ€์ผ์‹œํŠธ ๋ ˆํผ๋Ÿฐ์Šค https://doc.qt.io/archives/qt-4.8/stylesheet-reference.html#list-of-properties Qt Style Sheets Reference | Qt 4.8 Qt Style Sheets Reference Qt Style Sheets support various properties, pseudo-states, and subcontrols that make it possible to customize the look of widgets. The following table lists the Qt widgets that can be customized using style sheets: WidgetHow to St doc.qt.io ์ถœ์ฒ˜: https://forum.. 2022. 5. 9.
ํŒŒ์ด์ฌ - ini ์„ค์ • ํŒŒ์ผ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ import configparser def readConfigure(self): config = configparser.ConfigParser() config.read('./settings.ini', encoding='utf-8') settings = config['settings'] self.uid = settings['uid'] self.upw = settings['upw'] 2022. 5. 8.
ํŒŒ์ด์ฌ - ์Šค๋ ˆ๋“œ ์ƒ๊ด€ ์—†์ด ํ”„๋กœ๊ทธ๋žจ ์™„์ „ ์ข…๋ฃŒ import os os._exit() ์ถœ์ฒ˜: https://stackoverflow.com/questions/905189/why-does-sys-exit-not-exit-when-called-inside-a-thread-in-python Why does sys.exit() not exit when called inside a thread in Python? I am confused as to why the following code snippet would not exit when called in the thread, but would exit when called in the main thread. import sys, time from threading import Thread def testex... 2022. 5. 7.
PyQt - ๊ฐ„๋‹จํ•˜๊ฒŒ ํ† ๊ธ€ ์Šค์œ„์น˜ ๋””์ž์ธํ•˜๊ธฐ QCheckBox::indicator:unchecked { image: url("switch_off.png"); } QCheckBox::indicator:checked { image: url("switch_on.png"); } ์ด๋ฏธ์ง€๋ฅผ ์ด์šฉํ•ด์„œ ํ† ๊ธ€ ๋””์ž์ธ ์ถœ์ฒ˜: https://stackoverflow.com/questions/62363953/how-to-create-toggle-switch-button-in-qt-designer How to create toggle switch button in qt designer? I am trying to create toggle button in qt designer. I refer on internet also but i couldn't find how to .. 2022. 5. 7.
PyQt - designer .ui๋ฅผ .py๋กœ ๋ณ€ํ™˜ํ•˜๊ธฐ pyuic5 -x sub.ui -o sub.py 2022. 5. 7.
PyQt - ์œˆ๋„์šฐ์ฐฝ ํˆฌ๋ช…ํ•˜๊ฒŒ ๋งŒ๋“ค๊ธฐ [์™„์ „ ํˆฌ๋ช…ํ•˜๊ฒŒ ๋งŒ๋“ค๊ธฐ] Form.setWindowFlags(QtCore.Qt.FramelessWindowHint) Form.setAttribute(QtCore.Qt.WA_TranslucentBackground) Form.setStyleSheet("background:transparent;") [๋ถˆํˆฌ๋ช…๋„ ์„ค์ •] Form.setWindowOpacity(0.5) ์ถœ์ฒ˜: https://stackoverflow.com/questions/7667552/qt-widget-with-transparent-background Qt Widget with Transparent Background (I'm using PySide, but I think the answer would be the same/similar for .. 2022. 5. 7.
PyQt - ํŠธ๋ ˆ์ด(Tray) ๋งŒ๋“ค๊ธฐ ๋ฐ ๋ฉ”๋‰ด ์ถ”๊ฐ€ from PyQt5.QtGui import QIcon trayIcon = QSystemTrayIcon(Form) icon = QIcon("icon.png") trayIcon.setIcon(icon) trayIcon.setToolTip('ํŠธ๋ ˆ์ด ์•„์ด์ฝ˜ ์„ค๋ช…') trayIcon.setVisible(True) trayIcon.show() menu = QMenu() exitAction = menu.addAction('Exit') exitAction.triggered.connect(app.quit) trayIcon.setContextMenu(menu) ์ฐธ๊ณ : https://www.pythonguis.com/tutorials/system-tray-mac-menu-bar-applications-pyqt/ System.. 2022. 5. 7.
PyQt - designer ์Šคํƒ€์ผ์‹œํŠธ ์ถ”๊ฐ€ํ•˜๊ธฐ ์›ํ•˜๋Š” ์œ„์ ฏ ์šฐํด๋ฆญํ•˜๊ณ  styleSheet ๋ฐ”๊พธ๊ธฐ ํด๋ฆญ โ€‹์ด๋Ÿฐ์‹์œผ๋กœ border, :hover ๋“ฑ ๋‹ค์–‘ํ•œ ์Šคํƒ€์ผ์‹œํŠธ๋ฅผ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Œ ๋ฌธ๋ฒ•์€ CSS์™€ ๋™์ผํ•˜๋ฉฐ ๋‹ค๋งŒ ๊ธฐ๋Šฅ์€ ๋” ์ ๋‹ค. ์ฐธ๊ณ : https://blog.naver.com/PostView.naver?blogId=dhksrl0508&logNo=222344023916&parentCategoryNo=&categoryNo=232&viewDate=&isShowPopularPosts=false&from=postView PyQt StyleSheet๋กœ Visual Studio UI๋ฅผ ๋งŒ๋“ค์–ด๋ณด์ž ๋งˆ์ดํฌ๋กœ์†Œํ”„ํŠธ๋Š” UI๋ฅผ ์ •๋ง ์ž˜ ๋งŒ๋“œ๋Š” ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค. ํ•™๊ต ๊ณต๋ถ€๋กœ Visual C++ ์‹ค์Šต์„ ์ง„ํ–‰ํ•˜๋Š”๋ฐ, ์šฐ์—ฐ... blog.naver.com 2022. 5. 7.
ํ…์„œํ”Œ๋กœ์šฐ - ๊ฝƒ ์ด๋ฏธ์ง€ ๋งž์ถ”๊ธฐ from shutil import ExecError import matplotlib.pyplot as plt import numpy as np import os import PIL import tensorflow as tf from tensorflow import keras from tensorflow.keras import layers from tensorflow.keras.models import Sequential # ๋ฐ์ดํ„ฐ์„ธํŠธ ๋‹ค์šด๋กœ๋“œ ๋ฐ ํƒ์ƒ‰ํ•˜๊ธฐ import pathlib dataset_url = "https://storage.googleapis.com/download.tensorflow.org/example_images/flower_photos.tgz" data_dir = tf.keras.ut.. 2022. 4. 29.
728x90