React Vegetation Mapper is a React-frontend and Node.js / Python-backend web application that uses the Google Maps Javascript API to perform computer vision computations on Google's Street View Imagery.
This software relies on the Google Maps Javascript and Google Maps Streetview APIs to retrieve Google Maps and its data. Therefore it is a requirement for the user to provide a Google Maps API Key upon startup of the application.
The application will either (1) ask for you to input this API Key on the startup screen that you can retrieve following this Google documentation
or (2) enter the API Key as an environment variable in a .env
file as so:
REACT_APP_GOOGLE_MAPS_API_KEY=YOUR_API_KEY_HERE
Use either yarn or npm to install the necessary packages
cd client
yarn
cd client
npm install
Use either yarn or npm to install the necessary packages for the Node.js environment
cd server
yarn
cd server
npm install
Be sure to use a Python virtual environment such as virtualenv to keep all modules independent of all other installed Python packages on your computer.
Use the package manager pip to install the Python packages required for computer vision computations.
pip install -r requirements.txt
cd client
npm start
cd server
npm start
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.