'2022/03'에 해당되는 글 65건
- 2022.03.15 외근, 구매
- 2022.03.14 python3 opencv2 checker board
- 2022.03.14 cv2.imshow cv2.waitKey
- 2022.03.14 pdb
- 2022.03.14 iperf udp 테스트
- 2022.03.13 정신없는 주말이 끝
- 2022.03.12 한달치 글 정리
- 2022.03.11 드럽게 악의적인 기사네
- 2022.03.11 안드로이드 강제 종료
- 2022.03.10 go lang static http server
'Programming > python(파이썬)' 카테고리의 다른 글
python openCV / PIL 포맷 변경 (0) | 2022.04.12 |
---|---|
파이썬 딕셔너리 변수 생성과 리턴 enumerate, zip (0) | 2022.04.12 |
pdb (0) | 2022.03.14 |
python debug (pdb) (0) | 2022.03.04 |
opencv python (0) | 2022.02.25 |
imshow만 하면 검은 창만 비어서 나오는데
waitKey()로 메시지 루프(?)를 돌리지 않아서 그렇다고 한다.
'Programming > openCV' 카테고리의 다른 글
opencv cv2.imshow() error (0) | 2024.01.16 |
---|---|
opencv를 이용한 다중 템플릿 추적 (0) | 2024.01.15 |
virtual mouse (0) | 2022.01.25 |
opencv-3.4.0 어플리케이션 빌드 (0) | 2021.01.14 |
opencv face detect (0) | 2019.05.10 |
$ pdb chcker.py > /home/minimonk/src/py/chcker.py(1)<module>() -> import numpy as np (Pdb) run Restarting chcker.py with arguments: > /home/minimonk/src/py/chcker.py(1)<module>() -> import numpy as np (Pdb) list 1 -> import numpy as np 2 import cv2 3 import glob 4 # termination criteria 5 criteria = (cv2.TERM_CRITERIA_EPS + cv2.TERM_CRITERIA_MAX_ITER, 30, 0.001) 6 # prepare object points, like (0,0,0), (1,0,0), (2,0,0) ....,(6,5,0) 7 objp = np.zeros((6*7,3), np.float32) 8 objp[:,:2] = np.mgrid[0:7,0:6].T.reshape(-1,2) 9 # Arrays to store object points and image points from all the images. 10 objpoints = [] # 3d point in real world space 11 imgpoints = [] # 2d points in image plane. (Pdb) n > /home/minimonk/src/py/chcker.py(2)<module>() -> import cv2 (Pdb) n ImportError: 'No module named cv2' > /home/minimonk/src/py/chcker.py(2)<module>() -> import cv2 (Pdb) q |
$ whereis pdb pdb: /usr/bin/pdb2.7 /usr/bin/pdb /usr/bin/pdb3.6 /usr/share/man/man1/pdb.1.gz $ ls -al /usr/bin/pdb* lrwxrwxrwx 1 root root 6 4월 16 2018 /usr/bin/pdb -> pdb2.7 lrwxrwxrwx 1 root root 23 2월 28 2021 /usr/bin/pdb2.7 -> ../lib/python2.7/pdb.py lrwxrwxrwx 1 root root 6 1월 28 12:37 /usr/bin/pdb3 -> pdb3.6 lrwxrwxrwx 1 root root 23 12월 9 06:08 /usr/bin/pdb3.6 -> ../lib/python3.6/pdb.py $ ls -al /usr/lib/python3. python3.6/ python3.7/ python3.8/ $ ls -al /usr/lib/python3.6/pdb.py -rwxr-xr-x 1 root root 61310 12월 9 06:08 /usr/lib/python3.6/pdb.py |
'Programming > python(파이썬)' 카테고리의 다른 글
파이썬 딕셔너리 변수 생성과 리턴 enumerate, zip (0) | 2022.04.12 |
---|---|
python3 opencv2 checker board (0) | 2022.03.14 |
python debug (pdb) (0) | 2022.03.04 |
opencv python (0) | 2022.02.25 |
python / opencv mouse event (0) | 2022.02.25 |
흐음.. 로컬로 쐈는데 이정도면.. 성능 엄청 안 좋은건가?
아무튼 893번을 보내고 또 10번을 더 보내서 총 903번의 전송이 발생하는 것으로 보인다.
$ iperf -u -p 16000 -c localhost ------------------------------------------------------------ Client connecting to localhost, UDP port 16000 Sending 1470 byte datagrams, IPG target: 11215.21 us (kalman adjust) UDP buffer size: 208 KByte (default) ------------------------------------------------------------ [ 3] local 127.0.0.1 port 49969 connected with 127.0.0.1 port 16000 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec [ 3] Sent 893 datagrams [ 3] WARNING: did not receive ack of last datagram after 10 tries. |
[링크 : https://idchowto.com/iperf-를-이용한-네트워크-성능-측정/]
[링크 : https://chanind.github.io/2020/05/15/network-bandwidth-stress-testing-iperf.html]
+
i5-2520m 이고 로컬로 했는데 저조하네..
서버
$ iperf -u -p 16000 -s localhost iperf: ignoring extra argument -- localhost ------------------------------------------------------------ Server listening on UDP port 16000 Receiving 1470 byte datagrams UDP buffer size: 208 KByte (default) ------------------------------------------------------------ [ 3] local 127.0.0.1 port 16000 connected with 127.0.0.1 port 59209 [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec 0.003 ms 0/ 893 (0%) |
클라이언트
$ iperf -u -p 16000 -c localhost ------------------------------------------------------------ Client connecting to localhost, UDP port 16000 Sending 1470 byte datagrams, IPG target: 11215.21 us (kalman adjust) UDP buffer size: 208 KByte (default) ------------------------------------------------------------ [ 3] local 127.0.0.1 port 59209 connected with 127.0.0.1 port 16000 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec [ 3] Sent 893 datagrams [ 3] Server Report: [ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec 0.000 ms 0/ 893 (0%) |
+
i7-10510U 라고 해도 별다를 건 없어 보이네?
서버
$ iperf -u -p 16000 -s localhost iperf: ignoring extra argument -- localhost ------------------------------------------------------------ Server listening on UDP port 16000 Receiving 1470 byte datagrams UDP buffer size: 208 KByte (default) ------------------------------------------------------------ [ 3] local 127.0.0.1 port 16000 connected with 127.0.0.1 port 44436 [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec 0.011 ms 0/ 893 (0%) |
클라이언트
$ iperf -u -p 16000 -c localhost ------------------------------------------------------------ Client connecting to localhost, UDP port 16000 Sending 1470 byte datagrams, IPG target: 11215.21 us (kalman adjust) UDP buffer size: 208 KByte (default) ------------------------------------------------------------ [ 3] local 127.0.0.1 port 44436 connected with 127.0.0.1 port 16000 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec [ 3] Sent 893 datagrams [ 3] Server Report: [ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec 0.000 ms 0/ 893 (0%) |
+
-b 옵션을 통해 대역폭을 늘리니 cpu 사용율이 폭증한다.
'프로그램 사용 > iperf' 카테고리의 다른 글
iperf3 (0) | 2023.07.28 |
---|---|
iperf로 100M 랜 / IEEE1394 대역폭 측정 (2) | 2011.12.07 |
iperf - 대역폭 측정 (0) | 2009.10.22 |
어제는 장보고
오늘은 먹고 쓰레기 재활용할거 미리 분류해놓고
그렇게 또 한 주가 끝나는 구나
'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글
굿바이 키즈카페 (0) | 2022.03.27 |
---|---|
마인크래프트 + 키보드 청소 (0) | 2022.03.26 |
스트레스 만땅 (0) | 2022.03.07 |
샤오미 미에어2 분해!! (0) | 2022.03.05 |
샤오미 미에어2 분해 (0) | 2022.03.04 |
기사내에서는 언제 기준 비교해서 덜 나왔는지 이야기도 없고
정작 기사내에 내용을 보면 나이가 낮아질수록 점점 투표율이 낮아지는데
마치 40대만 유독 낮은 것 처럼 편 갈라치기 하는 기사.
'이재명 지지' 높았던 40대는 왜 투표소에 덜 나왔나
40대는 70.4%의 투표율을 보인 것으로 집계됐다. 투표율이 가장 높은 세대는 60살 이상(84.4%)였고, 이어 60살 이상(84.4%), 50대(81.9%), 30대(69.3%), 20대 이하(65.3%) |
'개소리 왈왈 > 정치관련 신세한탄' 카테고리의 다른 글
헉슬리는 우리가 좋아하는 것들이 우리를 망하게 할 것을 두려워 한 것이었다. (0) | 2022.06.02 |
---|---|
3차 세계대전 혹은 신냉전의 도래? (0) | 2022.05.10 |
pcr 무증상 검사 안한다고? (4) | 2022.01.07 |
딜인가 장고 끝의 악수인가 (8) | 2021.12.24 |
오랫만에 정치 늬우스 (2) | 2021.12.23 |
파워 + 볼륨 다운은 리부팅이라 액정 나간 지금 상태로는 쓸모가 없고..
파워 + 볼륨 업 + 볼륨 다운을 한번 시도해 봐야겠네
[링크 : https://www.digitub.org/guide/how-to-force-shutdown-your-android-device/]
'Programming > android' 카테고리의 다른 글
android hdmi rotate (4) | 2022.05.12 |
---|---|
안드로이드 앱 자동 실행 설정 (0) | 2022.03.02 |
안드로이드 system.img 마운트 하기 (0) | 2022.02.18 |
안드로이드 64bit 지원 (0) | 2021.07.27 |
핸드폰으로 만든 앱 올리기 (0) | 2020.06.17 |
의외로 무지 단순하게 추가가 가능.
아무튼 경로가 겹치지만 않으면 REST API랑 같이 가능하지 않을까 싶은데
이 경우에는 누가 우선순위를 가질지
먼저 등록된 쪽이려나 아니면 별도의 REST로 등록한 쪽이 우선이려나?
package main import ( "net/http" ) func main() { http.Handle("/", http.FileServer(http.Dir("wwwroot"))) http.ListenAndServe(":5000", nil) } |
'Programming > golang' 카테고리의 다른 글
golang gore(repl), delve (0) | 2022.03.31 |
---|---|
go build 옵션 (0) | 2022.03.31 |
go hello world build static / shared (0) | 2022.02.17 |
go lang rest (0) | 2022.02.11 |
golang (0) | 2020.05.18 |