- install google glogs
sudo apt install libgoogle-glog-dev
- Create build dir
mkdir build; cd build
- Build
cmake ..
make
cd docker
docker build . -t asr-grpc-buid
cd ..
docker run -it --rm -v $PWD:/src -w /src asr-grpc-build bash
mkdir build; cd build
# to build with gPRC inside of build image
cmake ..
# To fetch gPRC during compilation
cmake -D GRPC_FETCHCONTENT=1 ..
make -j 4
./recognize_client -a 172.17.0.3 -p 9090 -f audios/fazendinha_Claudia_5-8k.wav -e -o -c -g