Skip to content

pi-prakhar/Sattva_Curl_2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sattva_Curl_2022

logo


Nature knew how to heal herself, from time immemorial. But now, the delicate symbiotic balance between life and nature has been disturbed. This imbalance arose, because nature has always been commensal, where one entity benefits and the other experiences no harm, but humans benefit at the cost of the other. To coexist, this relationship ought to be mutualistic. Since human qualities like negligence and greed have harmed nature, it has resulted in a conclusion that expresses the underlying challenge of the project : “How do we minimize humans’ responsibility to protect nature and make nature self-sovereign ?”

Sattva does exactly this. It considers a park as an analogy to the biosphere. It is an end to end platform that focuses on capturing and harnessing the value that a park generates by automatically converting images created or owned by the park into exquisite artworks. It then converts these artworks into NFTs and sells it on platforms like Opensea on behalf of the park. This helps us arrive at a mutualistic relationship, where both the entities (here, the park and the people) benefit. We make the park a complete thinking organism who has a mind and a personality of her own and takes decisions on matters like reinvestment, independently.


Installation and Running Instructions - Windows

Method 1 - Manually Typing Instructions In Terminal

To run the project on Windows by manually typing the commands one by one, do the following -

  • Get a copy of this project locally and install the dependencies

    1. Fork this repository.

    2. git clone <url> - put the url of your forked repo. Once you have the cloned copy locally. cd into the project folder.

    3. Create a virtual environment inside the project folder using the following:

      python -m venv venv
    4. Activate the virtual environment using:

      .\venv\Scripts\activate
    5. Now Install React dependencies by the following:

      cd frontend\
      npm i
      cd frontend\dashboard2\
      npm i
    6. Once the environment is activated, install the dependencies using:

      Starting from the root folder
      cd backend\
      pip install -r requirements.txt
      
  • Once all dependencies are installed go to the project root folder and run the following commands:

    1. Activate the virtual environment if not done so:

      .\venv\Scripts\activate
    2. Start the Database server - By running MongoDB Community Edition. (Can be downloaded from their website)

    3. Start the Backend server (From the root folder)

      cd backend
      python app.py
    4. Start the Frontend server (From the root folder - can be done by opening a new terminal window)

      cd frontend\dashboard2\
      npm start
    5. Start the twitter Api Server (From the root folder - can be done by opening a new terminal window)

      cd backend\
      python twitter_api.py
    6. Start the AI Camera (From the root folder - can be done by opening a new terminal window)

     cd backend\
     python ai_camera.py
  • Go to localhost:3000/ and access Sattva Frontend !

Architecture of Sattva

Data Flow Architecture of Sattva

data_flow

AI Camera Prototype Architecture

ai_camera_prototype_architecture

Neural Style Transfer Model Architecture

nst_model_architecture

NST Generated Images

nst_generated_image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published