This app is built on the machine learning toolbox ml-morph. This app has a pre-trained model to predict 34 landmarks on lizard anole x-rays.
To learn more about the ml-morph toolbox:
Porto, A. and Voje, K.L., 2020. ML‐morph: A fast, accurate and general approach for automated detection and landmarking of biological structures in images. Methods in Ecology and Evolution, 11(4), pp.500-512.
- Frontend: Located in
frontend/
, built with React. - Backend: Located in
backend/
, powered by Flask.
- Navigate to the
backend
folder. - Since the predictor is too big for this platform, download here: https://gatech.box.com/s/ngg75ektk3zr2ed8085xa4cp3yjvm24q
- Paste the predictor into the backend folder
- Install dependencies:
pip install -r requirements.txt
- Run the Flask server:
python app.py
- Install node.js and add it to the PATH.
- Navigate to the
frontend
folder. - Install dependencies:
npm install
- Start the React app:
npm start
- Open a terminal and activate the backend with the instructions from above
- Open another terminal and activate the frontend with the instructions from above
- Navigate to http://localhost:5000
- Hit upload on the webpage and select the picture from the folder sample_image in the project directory
- Notice output.xml, output.tps, output.csv appear in project directory
- Image should appear in the web browser: