'프로그램 사용 > wayland' 카테고리의 다른 글
weston shell (0) | 2021.11.26 |
---|---|
weston_log() (0) | 2021.11.25 |
wayland weston 구조 (0) | 2021.11.24 |
wayland weston flow (0) | 2021.11.22 |
wayland / weston (0) | 2021.11.18 |
weston shell (0) | 2021.11.26 |
---|---|
weston_log() (0) | 2021.11.25 |
wayland weston 구조 (0) | 2021.11.24 |
wayland weston flow (0) | 2021.11.22 |
wayland / weston (0) | 2021.11.18 |
mysql, mariadb, amazon aurora, azure database for mysql을 지원하는 connector
MIT 라이선스를 적용하고 있고 다운로드 24.8M에 빛나는 패키지
[링크 : https://www.nuget.org/packages/MySqlConnector/1.3.14?_src=template]
mysql connector
[링크 : https://dev.mysql.com/downloads/connector/net/]
mariadb foundation의 connector는 소스로 제공되네..
mariadb msec 단위 시간 얻기 (0) | 2022.08.31 |
---|---|
mariadb 초기설정 (0) | 2022.08.30 |
HeidiSQL (2) | 2021.08.18 |
sql zerofill (0) | 2019.11.25 |
mysql-dump compatible 함정 -_- (0) | 2019.09.04 |
리눅스 홈 디렉토리 용량 검사하다 보니 이상하게 많이 먹어 추적해보니
~/.cache/bazel 이 7기가 정도?
bazel clean 을 통해서 용량을 감소시킬수 있다고 하는데 문제는 워크스페이스 날렸으면 무리
그냥 쿨(?) 하게 ~/.cache/bazel 을 날리니 용량이 훅 줄어든다.
$ bazel clean Extracting Bazel installation... ERROR: The 'clean' command is only supported from within a workspace (below a directory having a WORKSPACE file). See documentation at https://docs.bazel.build/versions/master/build-ref.html#workspace |
tflite bazel rpi3b+ (0) | 2022.01.27 |
---|---|
bazel cross compile (0) | 2022.01.27 |
2.7.0-rc with opencl (0) | 2021.10.13 |
tf release 2.7.0-rc (0) | 2021.10.12 |
tflite delegate (0) | 2021.10.11 |
ffmpeg 옵션 순서가 은근히 까다로운가 보네 -_-
아래처럼 입력하면 이미지가 깨져서 변환된다.
$ ffmpeg -vcodec rawvideo -s 480x800 -f rawvideo -i fb1.cap_date -pix_fmt rgb565 -vf "transpose=2" output_1.png |
이렇게 입력 코덱, 입력 비디오 포맷, 포맷에 따른 비디오 크기, 입력 파일 명 순서로 받고
출력시 회전, 출력 파일 명으로 넣어주어야 정상적으로 되는 듯.
$ ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb565 -s 480x800 -i fb1.cap_date -vf "transpose=2" output_1.png |
---
// List available formats for ffmpeg ffmpeg -pix_fmts // Convert raw rgb565 image to png ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb565 -s 1024x768 -i freescale_1024x768.raw -f image2 -vcodec png screen.png |
[링크 : https://github-wiki-see.page/m/rogeriorps/ipu-examples/wiki/Converting-image-format-on-PC]
2번은 counter니까 반시계 90도(-=270도 회전)
ffmpeg -i in.mov -vf "transpose=1" out.mov For the transpose parameter you can pass: 0 = 90CounterCLockwise and Vertical Flip (default) 1 = 90Clockwise 2 = 90CounterClockwise 3 = 90Clockwise and Vertical Flip Use -vf "transpose=2,transpose=2" for 180 degrees. |
[링크 : https://stackoverflow.com/questions/3937387/rotating-videos-with-ffmpeg]
ffmpeg을 이용하여 동영상을 프레임 별로 jpeg 로 변환하기 (0) | 2022.04.15 |
---|---|
mp4 복구 시도 (0) | 2022.01.24 |
ffmpeg 재생 어렵다 -_ㅠ (0) | 2021.02.22 |
ffmpeg fbdev (0) | 2021.02.09 |
ffmpeg build (0) | 2020.11.25 |
처음 패키지가 본체(?)고 그 위에는 한글언어 인식 데이터 패키지
$ sudo apt install tesseract-ocr tesseract-ocr-kor tesseract-ocr-script-hang tesseract-ocr-script-hang-vert |
도움말을 보는데 도움은 안된다(응?)
리눅스에서 실행시 outputbase를 stdout으로 하면 콘솔에 텍스트로 출력된다.
$ tesseract --help Usage: tesseract --help | --help-extra | --version tesseract --list-langs tesseract imagename outputbase [options...] [configfile...] OCR options: -l LANG[+LANG] Specify language(s) used for OCR. NOTE: These options must occur before any configfile. Single options: --help Show this help message. --help-extra Show extra help for advanced users. --version Show version information. --list-langs List available languages for tesseract engine. $ tesseract --list-langs List of available languages (5): Hangul Hangul_vert eng kor osd |
LSTM 학습
[링크 : https://hongjong.tistory.com/19]
[링크 : https://diyworld.tistory.com/114]
[링크 : https://davelogs.tistory.com/70]
tesseract 버전별 차이? (0) | 2023.12.27 |
---|---|
tesseract 학습 데이터 (0) | 2023.12.27 |
tesseract on arm (0) | 2023.12.26 |
tesseract ocr (0) | 2023.12.21 |
빌드해보려다가 라즈베리 4에서 실패인지 성공인지 미묘하게 완료
$ git clone https://github.com/tensorflow/tensorflow.git $ cd tensorflow/ $ git checkout v2.7.0-rc0 $ mkdir ../tflite_build $ cd ../tflite_build $ cmake ../tensorflow/tensorflow/lite/ -DTFLITE_ENABLE_GPU=ON |
[링크 : https://www.tensorflow.org/lite/guide/build_cmake]
문제는 rpi 3용 videocore IV는 openCL 사용자 버전이 있는데
rpi 4용 videocore VI는 아직 안나와서 쓸수가 없을 듯 ㅠㅠ
/home/pi/work/tflite_build/opencl_headers/CL/cl_version.h:34:104: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2) #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)") |
[링크 : https://github.com/doe300/VC4CL/issues/86]
[링크 : https://github.com/Idein/py-videocore6]
[링크 : https://forums.raspberrypi.com/viewtopic.php?t=312646]
bazel cross compile (0) | 2022.01.27 |
---|---|
bazel clean (0) | 2021.10.19 |
tf release 2.7.0-rc (0) | 2021.10.12 |
tflite delegate (0) | 2021.10.11 |
tflite gpu openCL support build fail (0) | 2021.08.31 |
정식 릴리즈는 아니고 후보인데 tensorflow lite 빌드를 make 사용하지 않고
cmake나 bazel로만 되도록 변경됨.
bazel clean (0) | 2021.10.19 |
---|---|
2.7.0-rc with opencl (0) | 2021.10.13 |
tflite delegate (0) | 2021.10.11 |
tflite gpu openCL support build fail (0) | 2021.08.31 |
tf lite cmake (0) | 2021.08.27 |
과거에도 있긴 했지만.. 도대체 이 delegate는 어떤 통로를 통해 tensorflow lite에서 사용이 가능해지는 건진 모르겠다.
[링크 : https://www.tensorflow.org/lite/performance/implementing_delegate]
[링크 : https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/delegates/gpu/README.md]
2.7.0-rc with opencl (0) | 2021.10.13 |
---|---|
tf release 2.7.0-rc (0) | 2021.10.12 |
tflite gpu openCL support build fail (0) | 2021.08.31 |
tf lite cmake (0) | 2021.08.27 |
tensorflow cross compile (0) | 2021.07.01 |
그냥 ssh id@hostname "commands" 하면 되는 듯
예전에 찾은적이 있던 것 같기도 한데...
[링크 : https://stackoverflow.com/questions/18502945/how-to-execute-a-remote-command-over-ssh-with-arguments]
sshd 에서 ssh 로그인 끄고 sftp만 허용하기 (0) | 2022.04.01 |
---|---|
ssh 압축전송하기 (0) | 2021.12.14 |
reverse ssh (0) | 2021.01.03 |
ssh blowfish (0) | 2019.09.24 |
ssh tunnel proxy (0) | 2019.09.20 |
통신을 주고 받으면서 해당 내용을 파일로 저장하는 기능.
ctrl-a,z 에서 "Capture on/off.....L" 을 눌러 들어가면
+-------------------------------------------------------------------+
| Minicom Command Summary |
| |
| Commands can be called by CTRL-A <key> |
| |
| Main Functions Other Functions |
| |
| Dialing directory..D run script (Go)....G | Clear Screen.......C |
| Send files.........S Receive files......R | cOnfigure Minicom..O |
| comm Parameters....P Add linefeed.......A | Suspend minicom....J |
| Capture on/off.....L Hangup.............H | eXit and reset.....X |
| send break.........F initialize Modem...M | Quit with no reset.Q |
| Terminal settings..T run Kermit.........K | Cursor key mode....I |
| lineWrap on/off....W local Echo on/off..E | Help screen........Z |
| Paste file.........Y Timestamp toggle...N | scroll Back........B |
| Add Carriage Ret...U |
| |
| Select function or press Enter for none. |
+-------------------------------------------------------------------+
저장할 파일명을 물어본다. minicom을 실행한 현재 디렉토리를 기준으로 저장된다.
+-----------------------------------------+
|Capture to which file? |
|> minicom.cap |
+-----------------------------------------+
minicom lf에 cr 붙이기 (0) | 2023.01.05 |
---|---|
minicom 16진수로 보기 (0) | 2022.08.25 |
minicom timestamp (0) | 2021.09.16 |
minicom 폭 늘리기 (0) | 2021.01.28 |
/dev/tty 를 sudo 쓰지 않고 사용하기 (0) | 2020.09.24 |