deepface icon indicating copy to clipboard operation
deepface copied to clipboard

GUI has nothing to display

Open jasonchenPJ opened this issue 3 years ago • 2 comments

Hi @aangfanboy, The liyana-main-app doesn't show anything when i running "./node_modules/.bin/electron ." .​ Would you have any advice for me? image

Additionally, did you have any tutorials for non-gui mode( run the client.py.)? image like the: cmd 1: "get_features" img_path ?? cmd 2: "add_to_db" name img_path ?? cmd 3: "go_for_webcam" ?? ....

Thanks~

jasonchenPJ avatar May 02 '21 05:05 jasonchenPJ

Hı, i'm deeply sorry for replying so late. I belive problem is caused by electron. I will try to update it soon.

For non-gui;

  • go deepface/main_app/python_server/
  • run server.py
  • run client.py
  • in client.py, when the input line showed up, u can use the listed commands(listed in here)

Example command use:

  • "go_for_webcam {camare number}", camera number is mostly set as 0
  • "go_for_video {video_path}"
  • "compare {path_of_first_image} {path_of_second_image}"

Sincerely,

aangfanboy avatar Jun 27 '21 19:06 aangfanboy

Hi @aangfanboy Thank you for your reply. I have successfully run the non-gui mode now. About the gui mode, would you have any suggestions ?

Thanks

jasonchenPJ avatar Jun 28 '21 00:06 jasonchenPJ