+ 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 구차니