Database
- ruan yi feng Tutorial
- sudo su - postgres
- psql
- ¥d (to check what tables you have)
- create table: Student information
change vector into string
CREATE TABLE student_information( id INT PRIMARY KEY NOT NULL, name TEXT NOT NULL, vector TEXT NOT NULL, image_address CHAR(50) );
- create table: passing record
CREATE TABLE passing_record( id INT PRIMARY KEY NOT NULL, datetime varchar(40) DEFAULT (now()), image_address CHAR(50), cemeraID CHAR(50) NOT NULL, inORout CHAR(10) );
- insert some information to test
- find the fast way to compare one vector with the whole vectors in database
- consider develop a app or website