React-native 예제 따라하기

expo-cli 참고 https://academy.realm.io/kr/posts/react-native/https://oolluu.tistory.com/1https://developer.android.com/studio/run/managing-avdshttps://facebook.github.io/react-native/docs/getting-started.html#android-development-environmenthttps://levelup.gitconnected.com/comprehensive-guide-to-create-simple-app-using-react-native-web-and-react-native-elements-306cf43fb8d7?gi=a7a9e16bd089

0 Comments

android-sdk does not exist

react-native 프로젝트 실행을 할 때 다음과 같이 에러가 나오는 경우 * What went wrong: A problem occurred configuring project ':app'. > The SDK directory '/usr/local/opt/android-sdk' does not exist. * Try:…

0 Comments

Dialogflow event trigger

Dialogflow를 사용하다가 특정 문장 입력 없이 reponse를 받는 방법이 없을까 고민하던 중 event trigger 기능이 있는 것을 알았다. Intent를 정의할 때 Event name을 지정할 수 있는데 이를 사용해서 response를 받는…

0 Comments

snowboy를 이용한 hot word detection

의존 패키지 설치 $ sudo apt-get install swig $ sudo apt-get install python-pyaudio python3-pyaudio sox $ sudo apt-get install libatlas-base-dev $ sudo apt-get install portaudio19-dev $ sudo apt-get install python-dev…

0 Comments

Python으로 Telegram 응답 봇 만들기

다음은 Telegram과 연동하여 메시지, 이미지를 받고 response할 수 있는 예제 코드다. from telegram.ext import Updater, MessageHandler, Filters, CommandHandler # import modules import os my_token = '' print('start telegram chat bot')…

0 Comments

python Pillow 설치 시 에러

running build_ext The headers or library files could not be found for jpeg, a required dependency when compiling Pillow from source. Please see the install instructions at: https://pillow.readthedocs.io/en/latest/installation.html Traceback (most…

0 Comments

Build dlib with GPU on Jetson

$ git clone https://github.com/davisking/dlib.git $ cd dlib $ mkdir build; cd build; $ cmake .. -DCUDA_HOST_COMPILER=/usr/bin/gcc -DCMAKE_PREFIX_PATH=/usr/lib/aarch64-linux-gnu/ -DDLIB_USE_CUDA=1 -DUSE_AVX_INSTRUCTIONS=1 -DUSE_F16C=1 $ sudo python3 setup.py install

0 Comments