embeded/raspberry pi2016. 3. 13. 23:26

음.. mmal 어쩌구 로그에 뜨는데

cpu 사용량을 보면 100% 인걸 봐서는 제대로 적용 안되거나

그게 한계일지도?



재기동

sudo nano /etc/init.d/motion

sleep 30

[링크 : http://www.codeproject.com/Articles/665518/Raspberry-Pi-as-low-cost-HD-surveillance-camera]

<< 많이 달라졌고, 안해도 문제 없음 단, 모션 저장이나 상시 녹화 쪽 문제로 보임


모션디텍트 끄기

http://raspberry:8081/0/detection/pause

[링크 : https://www.raspberrypi.org/forums/viewtopic.php?f=48&t=70917]


led끄기

/boot/config.txt

disable_camera_led=1

[링크 : http://www.raspberrypi-spy.co.uk/2013/05/how-to-disable-the-red-led-on-the-pi-camera-module/]

>> 안되네.. 내꺼는 안되나... ㅠㅠ

Posted by 구차니
embeded/raspberry pi2016. 3. 12. 11:37

왜이렇게 cpu를 조금 먹나 했더니.. MMAL 쓴건가?


[링크 : https://github.com/raspberrypi/userland/tree/master/host_applications/linux/apps/raspicam]


아.. 헷갈리네..

MMAL은 원래 있던거고 rpi videocore용으로 포팅한건가?

[링크 : http://www.jvcref.com/files/PI/documentation/html/]


아무튼.. mmal 사용하면 cpu 확 줄어 들려나..

v4l 통해서 받는 비디오는 너무 느려..

Posted by 구차니

정확하게는 사파리?

캡쳐가 안될줄 알았는데 프레임 버퍼에도 이렇게 미쳤었나 보구나..





Posted by 구차니
embeded/raspberry pi2016. 3. 11. 09:04

는 아니고..

자꾸 딸래미가 파괴신님 강림해서 어쩔수 없이 내구도 향상을 위해..


원래는 이렇게 대충 쓰고 있었는데..


전에 샀던 b+용 확장 포트 처럼 만들면 되지! 하고

이번주 초에 버렸던 걸 다시 쓰레기통에서 환생시켜서

허리를 분지르고(!!!)


대충대충 땜하고 선을 이어서!!!


어.. 조금 높네..

근데 내가 땜질 실력이 안되잖아? 더 짧으면 안될거야 ㅠㅠ


내구도가 +1 상승하였습니다.

딸래미의 공격력이 +3 상승하였습니다.

장비가 파괴되었습니다?!?!

'embeded > raspberry pi' 카테고리의 다른 글

라즈베리 파이(jessie) motion  (0) 2016.03.13
raspivid 소스  (0) 2016.03.12
raspbian jessie 의 raspi-config  (0) 2016.03.10
지름신 강림! - 라즈베리 2b(본체만)  (0) 2016.03.10
라즈베리 3B?  (0) 2016.03.06
Posted by 구차니

어째.. 한판정도는 마지막에 이겨주지 않겠나 라는

희미한 희망으로 점점 추락하는 기분..


[링크 : http://media.daum.net/digital/all/newsview?newsid=20160310174840315]




많이들 올라오는 내용이겠지만..

미친듯한 연산력으로 떄려박아 발전시킨 ai가

인류 1등을 뛰어넘는 다고 했을 경우


그보다 못한 ai가 만약.. 기술의 발달로

100만원 정도? 최고가 그래픽 카드 한장으로 구현이 되는 세상이 오고

그 ai가 일반 성인급의 지능을 지닌다면 어떻게 될까?


지금의 알파고가 "바둑"이라는 분야에서

"인공지능"이 아닌 "deus ex machina"가 되어가는게 아닐까 라는 생각이 자꾸만 든다.

Posted by 구차니
embeded/raspberry pi2016. 3. 10. 10:52

부팅시 네트워크 대기라던가..

시험적인 openGL 드라이버라던가.. 2016년 버전이라 그런지 먼가 좀 많이 추가되었네?


RASPBIAN JESSIE

Full desktop image based on Debian Jessie

Version:February 2016

Release date:2016-02-26

Kernel version:4.1

[링크 : https://www.raspberrypi.org/downloads/raspbian/]


┌────────────────────┤ Raspberry Pi Software Configuration Tool (raspi-config) ├──────────────────────┐

│                                                                                                     │

│1 Expand Filesystem            Ensures that all of the SD card storage is available to the OS        │

│2 Change User Password         Change password for the default user (pi)                             │

│3 Boot Options                 Choose whether to boot into a desktop environment or the command line │

│4 Wait for Network at Boot     Choose whether to wait for network connection during boot             │

│5 Internationalisation Options Set up language and regional settings to match your location          │

│6 Enable Camera                Enable this Pi to work with the Raspberry Pi Camera                   │

│7 Add to Rastrack              Add this Pi to the online Raspberry Pi Map (Rastrack)                 │

│8 Overclock                    Configure overclocking for your Pi                                    │

│9 Advanced Options             Configure advanced settings                                           │

│0 About raspi-config           Information about this configuration tool                             │

│                                                                                                     │

│                                                                                                     │

│                        <Select>                                   <Finish>                          │

│                                                                                                     │

└─────────────────────────────────────────────────────────────────────────────────────────────────────┘


┌────────────────────┤ Raspberry Pi Software Configuration Tool (raspi-config) ├──────────────────────┐

│                                                                                                     │

│  A1 Overscan     You may need to configure overscan if black bars are present on display         ↑  │

│  A2 Hostname     Set the visible name for this Pi on a network                                   ▮  │

│  A3 Memory Split Change the amount of memory made available to the GPU                           ▒  │

│  A4 SSH          Enable/Disable remote command line access to your Pi using SSH                  ▒  │

│  A5 Device Tree  Enable/Disable the use of Device Tree                                           ▒  │

│  A6 SPI          Enable/Disable automatic loading of SPI kernel module (needed for e.g. PiFace)  ▒  │

│  A7 I2C          Enable/Disable automatic loading of I2C kernel module                           ▒  │

│  A8 Serial       Enable/Disable shell and kernel messages on the serial connection               ▒  │

│  A9 Audio        Force audio out through HDMI or 3.5mm jack                                      ▒  │

│  AA GL Driver    Enable/Disable experimental desktop GL driver                                   ↓  │

│                                                                                                     │

│                                                                                                     │

│                        <Select>                                   <Back>                            │

│                                                                                                     │

└─────────────────────────────────────────────────────────────────────────────────────────────────────┘ 


'embeded > raspberry pi' 카테고리의 다른 글

raspivid 소스  (0) 2016.03.12
라즈베리 파이 IR 수신부 업그레이드!  (0) 2016.03.11
지름신 강림! - 라즈베리 2b(본체만)  (0) 2016.03.10
라즈베리 3B?  (0) 2016.03.06
레트로 파이(retropie)  (0) 2016.01.05
Posted by 구차니
embeded/raspberry pi2016. 3. 10. 10:42

마침 회사 근처에서 3만원(직거래)에 라즈베리 2b 파는 분이 있으셔서 후다닥 연락

근데

ㅋㅋ

ㅋㅋㅋ


아놔 집에 핸드폰 두고옴 ㅠㅠㅠㅠ




아무튼 우여 곡절 끝에 질렀으나..

SD 메모리 주신게 8GB 싼디스크.. 드럽게 느리네..


혹시나 해서 내 16GB 싼디스크로 했더니 속도 잘나와.. -_-


아무튼 케이스 없이 본체만 딸랑 ㅠㅠ

판매자 : 담배곽에 구멍 뚫어서 쓰시면되요 허허허

구차니 : 담배를 안피는데 담배곽 좀 굽신굽신



근데 라즈베리 3b가 나오는 시점에 웬 2b냐 하겠지만

난 돈이 없으니까!! ㅠㅠ

'embeded > raspberry pi' 카테고리의 다른 글

라즈베리 파이 IR 수신부 업그레이드!  (0) 2016.03.11
raspbian jessie 의 raspi-config  (0) 2016.03.10
라즈베리 3B?  (0) 2016.03.06
레트로 파이(retropie)  (0) 2016.01.05
openELEC 6.0.0 릴리즈  (0) 2016.01.03
Posted by 구차니

SLAM이라길래 미사일 같은건가?

visual SLAM 이래서 개발환경인가? 하고 찾아 봤더니


Simultaneous Localization and Mapping 의 약자


예전에 찾아 둔.. 카메라 들고 돌아 다니면서 3d로 변환하고 현재 자신의 위치를 추적하는

등의 내용이 바로 SLAM


[링크 : http://darkpgmr.tistory.com/129]


[링크 : http://vision.in.tum.de/research/vslam]

[링크 : http://vision.in.tum.de/data/software/dvo]

'이론 관련 > 3D 그래픽 관련' 카테고리의 다른 글

3D영상 종류 sbs tab  (2) 2017.06.12
path tracing - rendering  (0) 2016.12.14
극좌표계, 구면좌표계...  (0) 2015.07.22
극좌표계 / 구면좌표계  (0) 2013.03.26
shader  (0) 2011.11.20
Posted by 구차니
개소리 왈왈2016. 3. 9. 16:46

일단은 알파고 1승


바둑 룰을 모르니 패스하고..


1. 알파고가 참 인간답게 생겼네

>> 댓글에 빵터짐

>> 영상인식으로 할 줄 알았는데 조금은 실망(?)


2. 알파고가 실수를 했으나...

>> 학습 패턴중에 beginner's luck을 적용한 패턴은 아닐까?

>> 뜬금없는 실수인척 속이는?

[링크 : http://media.daum.net/digital/internet/newsview?newsid=20160309163416462]



3. 은근 없는 하드웨어 정보..

>> 하드웨어 스펙에 대한 내용은 안보이는데.. 분산처리 버전은 저정도 인데.. 싱글 버전은 어느정도 스펙이려나..


The distributed version was using 1,202 CPUs and 176 GPUs, about 25 times as many as the single-computer version.

[링크 : https://en.wikipedia.org/wiki/AlphaGo]


4. 과거의 나의 생각 잘못된 게 아닐까...?

>> 터미네이터 같은 불상사(?)를 막기 위해 인간성을 안전장치로 주는게 어떨까 했는데

장시간의 시뮬레이션과 학습을 통해 비논리적이고 모순적인 인간성/인성을 배제하는 걸로 가게 된다면

오히려 안전장치가 아닌 인간의 약점만 알려주는게 되는게 아닐까? 라는 고민..

'개소리 왈왈' 카테고리의 다른 글

경기가 안좋긴 하나보네  (0) 2016.12.10
이상하다 꿈을 꾼건가..  (0) 2016.05.14
다음 클라우드 종료까지!!!!! 한달 미만!  (0) 2015.12.09
다음 날씨도 폐쇄!  (0) 2015.10.01
감자도스의 스멜이 ㅋ  (0) 2015.03.29
Posted by 구차니
Linux2016. 3. 8. 16:51


processor   : 29

vendor_id   : AuthenticAMD

cpu family   : 21

model      : 1

model name   : AMD Opteron(TM) Processor 6272                 

stepping   : 2

microcode   : 0x6000626

cpu MHz      : 2100.022

cache size   : 2048 KB

physical id   : 3

siblings   : 16

core id      : 5

cpu cores   : 8

apicid      : 109

initial apicid   : 109

fpu      : yes

fpu_exception   : yes

cpuid level   : 13

wp      : yes

flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid amd_dcm aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core perfctr_nb arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold

bogomips   : 4199.42

TLB size   : 1536 4K pages

clflush size   : 64

cache_alignment   : 64



In addition to baseline instruction support, added SSE4.1, SSE4.2, SSSE3, AVX, AES, PCLMULQDQ, FMA4 and XOP

[링크 : http://www.amd.com/en-us/products/server/opteron/6000/6200]




Intel-defined CPU features, CPUID level 0x00000001 (ecx)

avx: Advanced Vector Extensions


More extended AMD flags: CPUID level 0x80000001, ecx

xop: extended AVX instructions


Intel-defined CPU features, CPUID level 0x00000007:0 (ebx)

avx2: AVX2 instructions


[링크 : http://unix.stackexchange.com/questions/43539/what-do-the-flags-in-proc-cpuinfo-mean]

'Linux' 카테고리의 다른 글

chvt - change Virtual Termianl  (0) 2016.04.12
리눅스 콘솔에서 한글보기  (0) 2016.04.11
리눅스용 비디오 편집 프로그램  (0) 2016.03.02
objdump  (0) 2016.02.18
iotop  (0) 2016.01.19
Posted by 구차니