Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install on my android tablet, ssh connect,gui #5

Closed
kaishijeng opened this issue May 6, 2019 · 30 comments
Closed

install on my android tablet, ssh connect,gui #5

kaishijeng opened this issue May 6, 2019 · 30 comments
Assignees

Comments

@kaishijeng
Copy link

I download aidlux-0505.apk to my android pad and install it, but failed to install.
Android tablet just says App not installed.
Any idea?

@aidlearning
Copy link
Owner

Can you share your pad configuration? For example, Android 6.0 or 7.0?now ,the app support android >=6.0 and aarch64 .

@kaishijeng
Copy link
Author

I used adb install aidlux-0505.apk and it works now

@aidlearning
Copy link
Owner

ok

@kaishijeng
Copy link
Author

kaishijeng commented May 6, 2019 via email

@aidlearning
Copy link
Owner

i check it

@aidlearning
Copy link
Owner

your account is activated by hand.sorry for the mail system not stable!

@kaishijeng
Copy link
Author

kaishijeng commented May 6, 2019 via email

@kaishijeng
Copy link
Author

How do I customize user interface, like adding an button and different layout of GUI?
I don't see it in your python example

Thanks

@aidlearning
Copy link
Owner

aidlearning commented May 6, 2019

good question!
Of course! you can customize your Gui use the AidLearning. you can cd /home/facencnn and reference:
line 35~43 :
msgType,msgName=cvs.getMsg()
if msgName!='' and msgType=='add_person':
ret=facerecog.add_person(msgName, img.shape[0], img.shape[1], image_char)
if ret==0:
print 'you add_person is success!'
cvs.setMsg_status(1)
else :
print 'you add_person is failed!'
cvs.setMsg_status(-1)

this is to process button to register a face to recognize. how to customize the button ?
pls reference the templates dir 下的index.html file, you can customize capital,button place,color
...

@kaishijeng
Copy link
Author

3 questions:

  1. I noticed wifi has a lot of traffic when landmark app is running. Does application send data or picture to internet?
  2. Is sshd enabled? It will be useful to have a connection between my PC and my android tablet. So I can do editing and upload my own model
  3. Which version of opencv is installed in your system?

Thanks,

@aidlearning
Copy link
Owner

no send any data to internet. but the gui is part build of the web .so you have the traffic. sshd already surpported.i will show the help how to do.opencv is 3

@kaishijeng
Copy link
Author

I am not able to use ssh to access my android tablet with your SW installed. Do I need to run a command to start sshd?

@aidlearning
Copy link
Owner

aidlearning commented May 7, 2019

no,sshd already started. you just need to copy the .ssh/id_rsa.pub (int the pc) to the .ssh/authorized_keys (phone),so it can work

@kaishijeng
Copy link
Author

kaishijeng commented May 7, 2019 via email

@aidlearning
Copy link
Owner

for example :in my pc : ssh u0_a201@192.168.1.6 -p8022

@aidlearning
Copy link
Owner

your pc is mac or linux?if it is true ,pls in the terminal run:ssh-keygen to generate the id_rsa.pub file

@kaishijeng
Copy link
Author

LInux. Unfortunately, it still asks me for password after I install id_ras.pub to autorizex_keys on your system.
I used termux before and I can do ssh to termux from my linux

Thanks,

@aidlearning
Copy link
Owner

ssh(use the pc to connect to Aidlearning and control it using the pc's terminal)

Just open the url:mobilephone'sip:8910/upload in the pc to upload ssh's file. for example:http://192.168.1.6:8910/upload

i upgrade the ssh setting method!!!

@kaishijeng
Copy link
Author

Do I need to update aidlearning instead of :using http://192.168.1.6:8910/upload?
w

@aidlearning
Copy link
Owner

aidlearning commented May 11, 2019

you need download apk to install.and then open url:mobilephone'sip:8910/upload
upload your id_ras and idras.pub. last you can use ssh u0_a201@192.168.1.6 -p8022 to connect

@kaishijeng
Copy link
Author

kaishijeng commented May 11, 2019 via email

@aidlearning
Copy link
Owner

@kaishijeng
Copy link
Author

kaishijeng commented May 11, 2019 via email

@qidiso
Copy link
Collaborator

qidiso commented May 11, 2019 via email

@kaishijeng
Copy link
Author

kaishijeng commented May 11, 2019 via email

@qidiso
Copy link
Collaborator

qidiso commented May 11, 2019 via email

@kaishijeng
Copy link
Author

kaishijeng commented May 11, 2019 via email

@aidlearning
Copy link
Owner

you can tap the bottom icon like app store.it will show more examples

@aidlearning aidlearning pinned this issue May 11, 2019
@aidlearning aidlearning added the enhancement New feature or request label May 11, 2019
@aidlearning aidlearning changed the title can't install on my android tablet install on my android tablet, ssh connect May 11, 2019
@aidlearning aidlearning changed the title install on my android tablet, ssh connect install on my android tablet, ssh connect,gui May 11, 2019
@kaishijeng
Copy link
Author

opencv2 in the system is 2.4.9.1, not 3 which you mentioned before.
I want to use dnn module in the opencv 3.5 or 3.6.

import cv2
cv2.version
'2.4.9.1'

Thanks,

@aidlearning
Copy link
Owner

aidlearning commented May 13, 2019

you can see this: #6 (comment)
use: apt install opencv3-dev install opencv3

@aidlearning aidlearning unpinned this issue Jul 13, 2019
@aidlearning aidlearning removed the enhancement New feature or request label Jul 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants