Skip to content

Getting started

Victoria edited this page Sep 17, 2023 · 1 revision

Welcome to the MindCraft wiki! Here you'll find instructions to set up MindCraft on your own computer.

Initial steps

  1. Clone this repo
  2. Install Minecraft Java Edition and create a new world
  3. Once in that world, press Esc, select Options then Controls then Mouse Settings, then turn Raw Input off
  4. Calibrate your AdHawk MindLink glasses
  5. Set up an external camera, Xbox Kinect, or your computer's built-in camera

Using OpenCV and the AdHawk SDK

Note: steps 3-5 should be done in quick succession to avoid crosstalk.

  1. In the repo root folder, use pip to install the following libraries: opencv-python, mediapipe, mouse, keyboard, time
  2. In the adhawk folder, run python -m venv venv, then run ./venv/Scripts/activate to set up a virtual environment
  3. In the Camera_Work folder, run python ./CameraProcessing.py to run the OpenCV model
  4. In the adhawk folder, run python ./vision.py to run the AdHawk feature
  5. Open Minecraft to the world you created in Initial steps

Commands

The following is the list of commands available to use:

  • Move forward: walk in place
  • Look around: move eyes in the direction you want the character to point in
  • Jump: jump
  • Destroy block/use item: raise right hand
  • Place block: raise left hand

Clone this wiki locally