Advanced Search
Search Results
128 total results found
VirtualBox
VirtualBox 가상머신 실행 하기 /usr/bin/VBoxManage startvm Ubuntu-Server -type headless vmdk --> vdi 사이즈 변경 schmitt@JCock:~/Desktop/data/after/VirtualBoxIMG/AcnDbServer001$ VBoxManage clonehd "/home/schmitt//Desktop/data/after/VirtualBoxIMG/AcnDbServer001/Ubuntu14...
Basic Course
1. 기본 설정 및 구성 2. 기본 설정으로 사용하기 - 게임하기 3. 공유 폴더 만들기 , Youtobe 다운로드 받기 4. amule 구성하기 5. 파일공유기 만들기 6. Python 프로그래밍 - 사칙연산 - 문자열 처리 - 자판기 만들기 - 숫자 게임 만들기 - https://www.programiz.com/python-pr...
KKoRack install packages
pip3 install pyaudio sudo apt-get install python-pyaudio pip3 install opencv-python sudo apt-get install libatlas-base-dev pip3 install googletrans pip3 install google_speech pip3 install sox sudo apt-get install sox libsox-fmt-all pip3 install vcgenc...
Basic Command
한글 sudo apt install -y fonts-unfonts-core sudo apt install ibus-hangul Windows와 폴더 공유 윈도우와 폴더를 공유하기 위한 samba 설치 CIFS/Samba 설치 sudo apt update sudo apt install samba samba-common-bin smbclient cifs-utils https://www.raspberrypi.org/documentation/remot...
eDonkey
50 sudo apt install deluged deluge-web deluge-console python-mako 51 deluged 52 sudo pkill -i deluged 53 echo "pi:1******q:10" >> ~/.config/deluge/auth 54 deluged 55 deluge-console "config -s allow_remote True" 56 deluge-web ...
Main
KKorack GPIO setting.pptx startKK.sh #!/bin/bash echo echo '##### START KKo KKo Rack #####' echo wpa_cli -i wlan0 status rm /home/pi/work/opencv/nohup.out cd /home/pi/work/opencv/ #nohup python3 /home/pi/work/opencv/KKserver.py & sleep...
VideoStream
usbwebcamera.py import os import sys import time import math import getopt import numpy as np import cv2 import threading import subprocess from collections import deque from lock_manager import Lock_Manager from util import Util class UsbWebC...
Noise Detector
noise_detector.py # Threshold / Sliding window # https://raw.githubusercontent.com/jeysonmc/python-google-speech-scripts/master/stt_google.py # WebSocket streaming: # https://gist.github.com/fopina/3cefaed1b2d2d79984ad7894aef39a68 import pyaudio i...
Listen Speech
listenSpeech.py from google_trans_new import google_translator from google_speech import Speech from time import sleep translator = google_translator() class ListenSpeech(object): def speech(self,message): ko_result = translator.tra...
GPIO
gpioControl.py import RPi.GPIO as GPIO from time import sleep ina1 = 33 ina2 = 35 ena = 37 inb1 = 31 inb2 = 29 enb = 23 GPIO.setmode(GPIO.BOARD) GPIO.setup(12, GPIO.OUT, initial=1) GPIO.setup(18, GPIO.OUT, initial=1) GPIO.output(12, GPIO....
Etc
util.py from datetime import datetime class Util: def log(source, msg): print(datetime.now().strftime("%Y%m%d_%H%M%S") + " | " + source + " | " + str(msg)) lock_manager.py import os import datetime class Lock_Manager: ...
StepMotor
#!/usr/bin/python # -*- coding: UTF-8 -*- import RPi.GPIO as gpio from time import sleep gpio.setmode(gpio.BOARD) gpio.setup(12, gpio.OUT) gpio.setup(18, gpio.OUT) p1 = gpio.PWM(12, 50) # 50 Hz p2 = gpio.PWM(18, 50) # 50 Hz p1.start(0) p2....
StreamingVideo
작성 중 StreamingVideo import io import picamera import logging import socketserver from threading import Condition from http import server import os from gpioControl import GpioControl from listenSpeech import ListenSpeech from urllib.parse import pa...
StreamingSound
StreamingSound aplay -L hw:X,Y --> X is the card number, while Y is the device number. USB 마이크 자동 선택하기 micHw=`pactl list | grep -A 7 'device.bus = "usb"' | grep 'hw'` hwString=`echo ${micHw#*:} | cut -c 1` echo -e "\n Mic HW = [$hwString]" ...
TensorFlow OpenCV Slack Flack
TensorFlow OpenCV Slack Flack main.py : 웹 메인 서버 #!/usr/bin/env python # # Project: Streaming Tensorflow image with Flask # Author: jframework@gmail.com # Date: 2020/05/11 # Website: http://www.joang.com # Description: # Publishing a video from room , ...
DcMortor
import RPi.GPIO as GPIO from time import sleep GPIO.setmode(GPIO.BOARD) ina1 = 33 ina2 = 35 ena = 37 inb1 = 31 inb2 = 29 enb = 23 GPIO.setup(ina1,GPIO.OUT) GPIO.setup(ina2,GPIO.OUT) GPIO.setup(ena,GPIO.OUT) GPIO.setup(inb1,GPIO....
Translate Speech
Change the line 151 in google_trans_new/google_trans_new.py which is: response = (decoded_line + ']') to response = decoded_line 위치는 : /home/pi/.local/lib/python3.9/site-packages/google_trans_new from google_speech import Speech from google_trans...
SSH file share
Host root user가 아닌 사용자 실행은 아래로 변경 sudo vi /etc/fuse.conf # /etc/fuse.conf - Configuration file for Filesystem in Userspace (FUSE) # Set the maximum number of FUSE mounts allowed to non-root users. # The default is 1000. mount_max = 1000 # Allow n...