-
Notifications
You must be signed in to change notification settings - Fork 0
/
Readme.txt
70 lines (55 loc) · 2.48 KB
/
Readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
This is the readme for the robot ticket checker project made by Yi Zhang, Yinglei Song, Tao Ma, Chongyu Zhang.
/*******************************************************************************************/
Dependencies
/*******************************************************************************************/
1.numpy
2.face_recognition
How to install numpy:
$ pip install numpy
How to install face_recognition:
$ pip install face-recognition
/*******************************************************************************************/
Packages of the whole task
/*******************************************************************************************/
Packages:
control
face
/*******************************************************************************************/
Network setup
/*******************************************************************************************/
You may need a separate laptop to run face recognition part.
It is important to setup your ROS IP and ROS Master.
For master(usually desktop machine), open .bashrc, and add:
export ROS_IP=localhost
export ROS_MASTER_URI=http://localhost:11311
For slave(usually laptop), open .bashrc, and add:
export ROS_IP=localhost
export ROS_MASTER_URI=http://IP_of_Master:11311
localhost is IP address of own machine.
For slave machine, you need to use the IP address of master in ROS_MASTER_URI.
Detailed reference: http://wiki.ros.org/ROS/NetworkSetup
/*******************************************************************************************/
How to run the code
/*******************************************************************************************/
On desktop machine
1. open one ternimal, run: $ cd project
2. run: $ catkin build
3. run: $ source devel/setup.bash
4. run: $ roslaunch control start.launch
On laptop
1. open one ternimal, run: $ cd project
2. run: $ catkin build
3. run: $ source devel/setup.bash
4. run: $ rosrun face face_detect.py
/*******************************************************************************************/
Links to demo videos
/*******************************************************************************************/
Full Demo 1
https://youtu.be/rvDgHgA3xF8
Full Demo 2
https://youtu.be/iJaAUak_v8Y
Invalid cases
https://youtu.be/gdtXTLhnkf8
In case 1, Mike used Jack's ticket and said he was Jack, but face recognition found the problem.
In case 2, Mike used Jack's ticket and said he was Mike. The name on the ticket and the name from the speech did not match.
In case 3, everything was valid.