Digitized Rhinoplasty - Web-based Software for Data Analysis of 3D Facial Measurements and Landmark Locations
Created for the Digitized Rhinoplasty Project.
To start:
-
Install npm dependencies
- Open
cmd
or something similar and navigate to the project directory (/). - Confirm the details inside package.json, then type
npm install
. - A folder called
npm_modules
will be downloaded to the project directory. - If for any reason you wish to delete the project files and run into issues deleting
npm_modules
:- Using
cmd
or something similar, in the project directory, run the commandnpx rimraf --glob ./node_modules
.
- Using
- Open
-
Input database details
- Open file
js/node/sqlFunctions.js
in a text editor. - Under variable
con
commented withserver connection details
, change the server details to your MySQL server. - The database you connect to must have the correct schema (
participant
,participant_landmark
,participant_measurement
,landmark
,measurement
) as well as landmark and measurement data.
- Open file
-
Run node server
- Using
cmd
or something similar, run the node server (src/server.js
). - The server runs on port 8000. If you wish to change the port, you must change the port number in the following files:
src/server.js
- Line 7
js/eventListener/displayLandmarksMeasurements.js
- Line 25
js/JSONCheckParseSend.js
- Line 69
- Using
-
Use the application
- Open the file
src/index.html
in a web browser. - Select participant features, measurements or landmarks, and statistics.
- Press submit.
- Choose between options to view statistical information.
- Open the file