detection은 객체의 종류와 확률 그리고 "위치"를 얻는다면

[링크 : https://www.tensorflow.org/lite/models/object_detection/overview]

 

classification은 객체의 종류와 확률 만을 결과로 얻는다.

[링크 : https://www.tensorflow.org/lite/models/image_classification/overview]

'프로그램 사용 > yolo_tensorflow' 카테고리의 다른 글

pb to tflite, tensorboard  (0) 2021.01.26
tensorflow pb to tflite  (0) 2021.01.25
텐서플로우 모델 출력? (metadata?)  (0) 2021.01.21
tensorflow 객체 탐지 예제  (0) 2021.01.21
tensorflow lite on x86 / label_image  (0) 2021.01.20
Posted by 구차니

+ 2021.01.22

다시 정리하고 와서 보니

위에는 classification tflite 파일이고 아래는 detection 이니 차이가 나는 듯.

 

+

tflite 파일 vi로 보니 문자열들이 좀 보이는데, python 써서 출력이 가능하려나?

[링크 : https://www.tensorflow.org/lite/convert/metadata]

 

---

output_tensor_metadata 에서

name:probability 라는게 있는데

[링크 : https://tfhub.dev/google/lite-model/aiy/vision/classifier/food_V1/1]

[링크 : https://tfhub.dev/google/lite-model/cropnet/classifier/cassava_disease_V1/1]

 

다른 tfilte 파일에서 보니

output_tensor_groups 라는게 존재해서 tensor_names로 3개의 출력이 존재하고

output_tensor_metadata 에 name:location, name:category, name:score 가 존재한다.

[링크 : https://tfhub.dev/google/lite-model/object_detection/mobile_object_localizer_v1/1/metadata/2]

 

출력에서 여러개 출력을 내는건.. 해당 프로젝트에서 사용하는 tflite 파일이 그렇게 생성 되었기 때문인건가?

Output Signature
The model outputs four arrays, mapped to the indices 0-4. Arrays 0, 1, and 2 describe N detected objects, with one element in each array corresponding to each object.

[링크 : https://www.tensorflow.org/lite/models/object_detection/overview]

'프로그램 사용 > yolo_tensorflow' 카테고리의 다른 글

tensorflow pb to tflite  (0) 2021.01.25
텐서플로우 - detection과 classification  (0) 2021.01.22
tensorflow 객체 탐지 예제  (0) 2021.01.21
tensorflow lite on x86 / label_image  (0) 2021.01.20
tensorflow-lite 모델  (0) 2021.01.18
Posted by 구차니
Posted by 구차니
Linux2021. 1. 21. 10:31

라즈베리 파이 3에서 테스트 했는데

아쉽게도(?) 재생이후 프로그램 종료하면 사라지는 것과

저 망할(?) 커서가 계속 깜박이는게 걸리네 -_-

 

전체화면 동영상 재생

mplayer -fs -vo fbdev test.mp4 

[링크 : https://askubuntu.com/questions/46871/how-can-i-play-videos-in-a-framebuffer]

 

이미지 출력

fim  -a --quiet file.jpg

[링크 : https://ostechnix.com/how-to-display-images-in-the-terminal/]

 

fb 커서 깜박이는 것 없애기/켜기

# echo 0 > /sys/class/graphics/fbcon/cursor_blink
# echo 1 > /sys/class/graphics/fbcon/cursor_blink

커서 없애기

# echo -e -n '\033[?25l' > /dev/tty0 

[링크 : https://community.nxp.com/t5/i-MX-Processors/Remove-Cursor-pointer/m-p/159574]

 

 

+

[링크 : http://www.armadeus.org/wiki/index.php?title=Framebuffer]

'Linux' 카테고리의 다른 글

linux smart card  (0) 2021.02.02
linux shared memory 확인 및 삭제  (0) 2021.01.22
sit1 인터페이스  (0) 2021.01.20
특정 버전의 파일로 링크걸어서 빌드하기  (0) 2021.01.12
libc static build 하기  (0) 2021.01.12
Posted by 구차니

이번에 중고로 사긴했지만 V50S 잘쓰고 있는데 ㅠㅠㅠ 

안돼애애애애 ㅠㅠ

 

[링크 : https://news.v.daum.net/v/20210120184107269]

[링크 : https://news.v.daum.net/v/20210120204010700]

[링크 : https://news.v.daum.net/v/20210120213014642]

Posted by 구차니
Linux2021. 1. 20. 14:52

용도가 멀까나..

 

SIT stands for Simple Internet Transition. The main purpose is to interconnect isolated IPv6 networks, located in global IPv4 internet.

[링크 : https://developers.redhat.com/blog/2019/05/17/an-introduction-to-linux-virtual-interfaces-tunnels/#sit]

Posted by 구차니
프로그램 사용/vi2021. 1. 20. 11:07

vimdiff 시에 다른 부분의 글씨가 안보여서 다른 색상을 찾는데

blue / darkblue / default / delek / desert / elflord / evening / industry / koehler / morning / murphy

pablo / peachpuff / ron / shine / slate / torte / zellner

정도가 있는데 좀 찾아봐야 할 듯.. 몇개는 너무 칙칙하고 몇개는 너무 눈 아프고 ㅠㅠ

 

colorscheme <TAB>

[링크 : https://stackoverflow.com/questions/7331940/how-to-get-the-list-of-all-installed-color-schemes-in-vim]

 

+

개인적으로 torte가 가장 무난한듯.

'프로그램 사용 > vi' 카테고리의 다른 글

vi 이전 위치 다음 위치로 이동하기  (0) 2022.08.04
vi가 늦게 켜지는 이유  (0) 2022.07.28
vi 에서 매칭되는 갯수 확인하기  (0) 2019.12.18
vi gg=G와 set ts  (0) 2019.07.04
vi 검색 취소하기  (0) 2019.06.04
Posted by 구차니

cmake 시에 -D 플래그로 옵션을 활성화 가능한데

그 플래그 목록을 확인하는 cmake 옵션은 -LA

$ cmake -LAH

 

openCV-4.5.1 에서 하다 보니 무조건 다른 디렉토리에서 빌드 하라고 나오는지라

한번은 cmake 하고 ccmake로 볼 수 있는건지 확인이 좀 필요할 듯.

sudo apt-get install cmake-curses-gui
ccmake ..

[링크 : https://stackoverflow.com/questions/16851084/how-to-list-all-cmake-build-options-and-their-default-values]

'프로그램 사용 > make, configure' 카테고리의 다른 글

make 조건식  (0) 2023.08.16
cmake ninja, cmake 옵션주기  (0) 2022.12.07
cmake 빌드 에러시  (0) 2021.01.19
make order  (0) 2016.06.16
make /bin/sh: 1: pushd: not found 에러  (0) 2016.06.08
Posted by 구차니

어우.. cmake 너무 시르다..

빌드 하는데 안되면 CMakeCache.txt 파일 삭제하고 재시도 하면 된다.

 

[링크 : https://stackoverflow.com/questions/45518317/in-source-builds-are-not-allowed-in-cmake]

'프로그램 사용 > make, configure' 카테고리의 다른 글

cmake ninja, cmake 옵션주기  (0) 2022.12.07
cmake 옵션 확인  (0) 2021.01.20
make order  (0) 2016.06.16
make /bin/sh: 1: pushd: not found 에러  (0) 2016.06.08
make 기본셸  (0) 2016.06.08
Posted by 구차니