Skip to content

Installing Local Lucida

saijel edited this page Apr 4, 2017 · 7 revisions
  1. Checkout project from github

  2. Install dependencies

    • Add this to the top of install_opencv.sh:
      THREADS=1
    • Then open a terminal and run from the top project directory:
      $cd /tools/
      $make
  3. Open a terminal for each microservice (8 services) or use a tmux session and open a window for each microservice

  4. Build each microservice

    • Calendar Service (CA)
      $cd /lucida/calendar/
      $make all
    • Image Matching Service (IMM)
      $cd /lucida/imagematching/opencv_imm/server/ $make all`
    • Question Answering Service (QA)
      $cd /lucida/questionanswering/OpenEphyra/
      $make all
    • Djinn Tonic (builds all 3 micro services: IMC, FACE, DIG)
      $cd /lucida/djinntonic/
      $make all
    • Automatic Speech Recognition (ASR) This will take a while
      $cd /lucida/speechrecognition/kaldi_gstreamer_asr/
      $make all
    • Command Center (CMD)
      $cd /lucida/commandcenter/
      $make all
  5. Start each server

    • Calendar Service (CA)
      $cd /lucida/calendar/
      $./gradlew run
    • Image Matching Service (IMM)
      $cd /lucida/imagematching/opencv_imm/server/
      $./imm_server
    • Question Answering Service (QA)
      $cd /lucida/questionanswering/OpenEphyra/
      $chmod +x start_server.sh
      $./start_server.sh
    • Image Classification Service (IMC)
      $cd /lucida/djinntonic/imc/
      $./IMCServer
    • Facial Recognition Service (FACE)
      $cd /lucida/djinntonic/face/
      $./FACEServer
    • Digit Recognition Service (DIG)
      $cd /lucida/djinntonic/dig/
      $./DIGServer
    • Automatic Speech Recognition (ASR) This will take a while
      • Refer to the Adding ASR wiki
    • Command Center (CMD)
      $cd /lucida/commandcenter/
      $source ${PWD}/../../tools/python_2_7_9/bin/activate
      $python app.py
  6. Go to http://:3000 and you should see you instance running there

  7. Follow this tutorial to test out Learn and Infer within Lucida

Clone this wiki locally