A unix command like sirius client
Deprecated. Whole design of sirius changed. Now called lucida (https://github.com/claritylab/lucida)
Requires:
- libpcre
- libcurl
Clone this repsitory: git clone https://github.com/d4ndo/sirius-client.git
mkdir build
cd build
cmake ..
make
sudo make installThe configuration file can be found at ~/.sirius.ini
[host] ;host configuration
url = localhost ;ip address or domain
question_port = 8080 ;question daemon PORT
speech_recognition_port = 8081 ;speech recognition daemon PORT
image_matching_port = 8082 ;image matching daemon PORTTo ask sirius a question try this:
sirius "What is the speed of light"
or
echo What is the speed of light | sirius-a : sirius will return the content of question.wav
sirius -a question.wav
what is the speed of light-q : sirius will try to answer question.wav
sirius -qa question.wav
299,792,458 meters per secondis equivalent to :
sirius -a question.wav | sirius
299,792,458 meters per second-i: sirius will return information about the image
sirius -i towerOFpisa.jpg
tower pisaSome batch stuff:
ls -1 *.jpg | while read line; do sirius -i $line; done;