데이터분석용인데 몇개 검색해보니 로그 분석용으로 더 쓰이는 느낌

ElasticSearch, LogStash, Kibana

 

[링크 : https://sanghaklee.tistory.com/51]

[링크 : https://heowc.tistory.com/49]

[링크 : http:// https://www.inflearn.com/course/elk-스택-데이터-분석/#]

'프로그램 사용 > 서버 모니터링' 카테고리의 다른 글

prometheus lustre expoter  (0) 2020.11.16
kibana  (0) 2020.10.14
grafana  (0) 2020.10.14
zabbix  (0) 2020.10.14
prometheus  (0) 2020.10.14
Posted by 구차니
개소리 왈왈/영화2019. 5. 13. 18:56

걍 평이한 느낌?

아내는 완전 만족

 

 

 

 

 

 

 

 

 

개인적으로는 스타크 부자의 이야기가 가장 감동적

Posted by 구차니

부품은 몇개 없는데 파트가 잘 안나와서..

 

16Mhz OSC

7886 1616hv
파워관련?

driver ic / motor driver

회로 요약 RZ7886은 모터 드라이브 및 다른 유형의 장난감에 적합한 DC 양방향 모터 드라이브 회로입니다. 다이나믹 밸브 모터 드라이브, 전자 도어록 드라이브 등 모터 전진을 제어하기위한 두 개의 로직 입력 단자가 있으며, 후퇴와 브레이크. 이 회로는 우수한 간섭 방지, 작은 대기 전류, 낮은 출력 내부 저항 및 동일한 또한 인덕 티브 부하의 돌입 전류를 반전하는 다이오드가 내장되어 있습니다.

 

[링크 : https://lcsc.com/product-detail/Motor-Drivers_RZ7886_C128852.html]

[링크 : https://eleparts.co.kr/EPXKBPMB]

 

RW1601H 11JS1631
MCU + 2.4GHz RF ?

 

16핀(SOP16), RISC(Cortex-M0) 방식에 MP 된 녀석으로 RF 지원하고 2K OTP 플래시, 88byte 램(ㄷㄷ)

8 MHz 클럭이면.. 멀까? 16Mhz 넣고 DIV/2 해서 쓰는걸려나 아니면 오버클럭이려나?

[링크  : http://www.dlaap.com/qfy-content/uploads/2017/12/d323284087b69e57de0da4ff13c7e812.pdf]

[링크 : http://www.dlaap.com/?page_id=8806]


YX 8116 16029

모터랑 연결되는거 같은데 드라이버?

(일단은 조향 DC 모터에 연결됨)

[링크 : https://hackaday.io/project/163496/logs]

 

동일한건 아니지만 찾다보니 DC motor driver 이거나 PWM 출력인거 같은데

(아니면 DC Driver인데 PWM 출력으로 제어가 가능하거나)

[링크 : https://www.richtek.com/.../RT8116?sc_lang=en]

 

아무튼 아두이노로 하는것 중에 유사한게 있는데 VCC로 2개 핀이 붙어 있는거 보면

이거랑 유사한 DC motor driver 인걸로 보이긴 하는데..

[링크 : https://www.elecrow.com/download/datasheet-l9110.pdf]

Posted by 구차니

2천원이라고 했다가 3천원에 업어왔는데

일단은 리모컨이 없어서 전파상 가서 만들어달라고 하던가 하라는데

솔찍히 이런 제품이 범용 컨트롤러로 될것도 아니고

2.4GHz 라서 솔찍히 기대되지도 않는데..

버기 모델이라 개조해서 무언가 장난질 칠 공간은 꽤 있어 보이니 개조를 해볼까 싶기도 하고?

 

[링크 : https://www.amazon.in/Kiditos-Ironhide-Killer-Cheetah-Control/dp/B072LS38N5]

[링크 : https://www.flipkart.com/rc-monster-truck-cheetah-king-2-4ghz-ironhide-killer-scale-1-16...]

'개소리 왈왈 > 쿼드콥터(RC)' 카테고리의 다른 글

jjrc rtsp 주소  (0) 2020.04.11
부품조사  (0) 2019.05.12
300m 1km 까지되는 드론?  (2) 2019.02.06
심심해서 장난감 수리!  (2) 2018.11.03
평창 올림픽 개막식 그리고 인텔.. ㄷㄷ  (0) 2018.02.12
Posted by 구차니
Programming/openCV2019. 5. 10. 19:17

 

 

import cv2


dirname = '/home/user/.local/lib/python3.6/site-packages/cv2/data/'


face_cascade = cv2.CascadeClassifier(dirname + 'haarcascade_frontalface_default.xml')
eye_cascade = cv2.CascadeClassifier(dirname + 'haarcascade_eye.xml')


cam = cv2.VideoCapture(0)
cam.set(3, 160) # CV_CAP_PROP_FRAME_WIDTH
cam.set(4, 120) # CV_CAP_PROP_FRAME_HEIGHT
cam.set(5, 60) # CV_CAP_PROP_FPS
print(cam.get(3))
print(cam.get(4))
print(cam.get(5))


while True:
ret_val, img = cam.read()
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)


faces = face_cascade.detectMultiScale(gray, 1.3, 5)
print(faces)
for (x, y, w, h) in faces:
img = cv2.rectangle(img, (x, y), (x+w, y+h), (255, 0, 0), 2)
roi_gray = gray[y:y+h, x:x+w]
roi_color = img[y:y+h, x:x+w]
eyes = eye_cascade.detectMultiScale(roi_gray)
for (ex, ey, ew, eh) in eyes:
cv2.rectangle(roi_color, (ex, ey), (ex+ew, ey+eh), (0, 255, 0), 2)


cv2.imshow("Cam Viewer", img)
cv2.imshow("Cam Viewer gray", gray)
if cv2.waitKey(1) == 27:
break

[링크 : https://opencv-python-tutroals.readthedocs.io/.../py_face_detection/py_face_detection.html]

[링크 : https://stackoverflow.com/questions/30508922/error-215-empty-in-function-detectmultiscale]

 

+

2025.08.04

import cv2
import time

dirname = '/home/falinux/.local/lib/python3.10/site-packages/cv2/data/'

face_cascade = cv2.CascadeClassifier(dirname + 'haarcascade_frontalface_default.xml')
eye_cascade = cv2.CascadeClassifier(dirname + 'haarcascade_eye.xml')

cam = cv2.VideoCapture(0)
# cam.set(3, 160) # CV_CAP_PROP_FRAME_WIDTH
# cam.set(4, 120) # CV_CAP_PROP_FRAME_HEIGHT
cam.set(5, 20) # CV_CAP_PROP_FPS
# print(cam.get(3))
# print(cam.get(4))
print(cam.get(5))

while True:
 ret_val, img = cam.read()
 gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
 
 faces = face_cascade.detectMultiScale(gray, 1.05, 5)
 print(faces)
 for (x, y, w, h) in faces:
  img = cv2.rectangle(img, (x, y), (x+w, y+h), (255, 0, 0), 2)
  roi_gray = gray[y:y+h, x:x+w]
  roi_color = img[y:y+h, x:x+w]
  eyes = eye_cascade.detectMultiScale(roi_gray)
  for (ex, ey, ew, eh) in eyes:
   cv2.rectangle(roi_color, (ex, ey), (ex+ew, ey+eh), (0, 255, 0), 2)

 time.sleep(0.15)
 cv2.imshow("Cam Viewer", img)
#  cv2.imshow("Cam Viewer gray", gray)
 if cv2.waitKey(1) == 27:
     break

'Programming > openCV' 카테고리의 다른 글

virtual mouse  (0) 2022.01.25
opencv-3.4.0 어플리케이션 빌드  (0) 2021.01.14
vscode python3 opencv lint  (0) 2019.05.10
opencv cannyedge  (0) 2019.01.16
opencv 원 추정  (0) 2019.01.16
Posted by 구차니
Programming/openCV2019. 5. 10. 19:05

 

{

"python.linting.pylintArgs": ["--extension-pkg-whitelist=cv2"]

}

[ : https://github.com/Microsoft/vscode-python/issues/2879]

'Programming > openCV' 카테고리의 다른 글

opencv-3.4.0 어플리케이션 빌드  (0) 2021.01.14
opencv face detect  (0) 2019.05.10
opencv cannyedge  (0) 2019.01.16
opencv 원 추정  (0) 2019.01.16
OpenCV 분산처리  (0) 2018.04.25
Posted by 구차니
Linux/Ubuntu2019. 5. 10. 10:30

뜬금없이 우측 alt 키가 한글에서 ALT-R로 인식이 바뀌어서 급 멘붕. (포맷해야하나..)

아무튼 바꿀순 있는데 걍... alt-r로 바뀐김에 한글변환키를 alt-r로 추가해주는게 현재로서는 가장 편하네..(덜 귀찮..)

 

[링크 : https://hyoungx.tistory.com/38]

[링크 : https://lhb0517.tistory.com/entry/우분투-기계식-키보드-오른쪽-알트키AltR를-한영전환키로-변경]

'Linux > Ubuntu' 카테고리의 다른 글

우분투 리눅스에 카카오톡 깔기  (2) 2019.07.09
ubuntu sftp with nautilius  (0) 2019.06.03
ubuntu 18.04 hibernate 적용하기  (0) 2019.05.06
intel hd 3000 GLSL  (0) 2019.05.05
linux smbus?  (0) 2019.05.04
Posted by 구차니
Programming/openGL2019. 5. 10. 08:34

원인은 모르겠는데.. 링크할때 파일명이랑 순서가 영향을 주네? 머지?

 

$ sudo apt-get install libglfw3-dev libglfw3

$ vi glfw.c

#include <GLFW/glfw3.h>
#include 
#include 
static void error_callback(int error, const char* description)
{
    fputs(description, stderr);
}
static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
{
    if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS)
        glfwSetWindowShouldClose(window, GL_TRUE);
}
int main(void)
{
    GLFWwindow* window;
    glfwSetErrorCallback(error_callback);
    if (!glfwInit())
        exit(EXIT_FAILURE);
    window = glfwCreateWindow(640, 480, "Simple example", NULL, NULL);
    if (!window)
    {
        glfwTerminate();
        exit(EXIT_FAILURE);
    }
    glfwMakeContextCurrent(window);
    glfwSetKeyCallback(window, key_callback);
    while (!glfwWindowShouldClose(window))
    {
        float ratio;
        int width, height;
        glfwGetFramebufferSize(window, &width, &height);
        ratio = width / (float) height;
        glViewport(0, 0, width, height);
        glClear(GL_COLOR_BUFFER_BIT);
        glMatrixMode(GL_PROJECTION);
        glLoadIdentity();
        glOrtho(-ratio, ratio, -1.f, 1.f, 1.f, -1.f);
        glMatrixMode(GL_MODELVIEW);
        glLoadIdentity();
        glRotatef((float) glfwGetTime() * 50.f, 0.f, 0.f, 1.f);
        glBegin(GL_TRIANGLES);
        glColor3f(1.f, 0.f, 0.f);
        glVertex3f(-0.6f, -0.4f, 0.f);
        glColor3f(0.f, 1.f, 0.f);
        glVertex3f(0.6f, -0.4f, 0.f);
        glColor3f(0.f, 0.f, 1.f);
        glVertex3f(0.f, 0.6f, 0.f);
        glEnd();
        glfwSwapBuffers(window);
        glfwPollEvents();
    }
    glfwDestroyWindow(window);
    glfwTerminate();
    exit(EXIT_SUCCESS);
}

$ gcc glfw.c -lglfw -lGL

 

[링크 : https://www.glfw.org/docs/3.0/quick.html]

'Programming > openGL' 카테고리의 다른 글

gl model view projection mat  (0) 2019.05.29
gluPerspective()  (0) 2019.05.28
openGL vao(Vertex Array Object)  (0) 2019.05.07
glfw - gl framework  (0) 2019.05.07
openGL 3.0 tutorial  (0) 2019.05.07
Posted by 구차니

우분투에서 python2와 3이 모두 깔려있는데

그러다 보니 pip로 설치한게 python3 에서는 공유가 안된다.

그런 이유로 별도로 또 깔아줘야 하는데 일단 모듈 명은 동일하니 다행이네

 

$ pip3 opencv-python

[링크 : https://askubuntu.com/questions/783956/how-to-install-opencv-3-1-for-python-3-5-on-ubuntu-16-04-lts]

'Programming > python(파이썬)' 카테고리의 다른 글

anaconda(python)  (0) 2019.05.15
파이썬 vscode 디버깅 하기  (0) 2019.05.14
python pylint @ vscode  (0) 2019.05.09
python wxpython  (0) 2019.05.08
PyOpenGL + ubuntu 18.04  (0) 2019.05.02
Posted by 구차니

찾아보면 정적분석 툴이라는데

그런 이유로 vscode에서 설치하도록 하는건가?

 

[링크 : https://thrillfighter.tistory.com/395]

'Programming > python(파이썬)' 카테고리의 다른 글

파이썬 vscode 디버깅 하기  (0) 2019.05.14
python3 import cv2  (0) 2019.05.09
python wxpython  (0) 2019.05.08
PyOpenGL + ubuntu 18.04  (0) 2019.05.02
python 3.7 + MS build tool 2015 + pyGL 또 실패 ㅠㅠ  (0) 2019.05.01
Posted by 구차니