Install Freemocap - kileyhartigan/freemocap GitHub Wiki
08/02/2021
Install Freemocap
Yay! You've made it this far. For me, this was a major accomplishment.
Remember, you have to have done everything in Freemocap-Prerequisites before installing freemocap
Step 1: Open an Anaconda Prompt from your base environment
Open Anaconda Navigator (I do this using my start menu, just typing in Anaconda Navigator and selecting it). This usually takes at least a minute or two to open on my computer. Once you're in, it should look like the photo below:
If this is the first time you've ever opened an Anaconda Prompt from Anaconda Navigator, under the CMD.exe Prompt Icon (highlighted above), that button will say "Install". For the first time use, you'll click "Install". Each time after that, you'll see "Launch", like you do in the photo above.
Step 2: Create a freemocap virtual environment
If you don't know what a virtual environment is, that's okay, because I didn't at first either. Here is some more info... Create a virtual environment
Within the Anaconda Prompt, type:
conda create -n freemocap-env python=3.7
Let it do its thing after this, you'll likely have to type the letter 'y' at some point to tell it to proceede.
Notice "(base)" in the photo above, that tells you you're starting in the right place within the Anaconda Prompt
I'm doing this as a test on my system for the second time, so that's why I've named my virtual env freemocaptest2-env. You can go ahead an name yours freemocap-env.
Dev note: I noticed this warning while doing this:
Looks like it wants Python 3.8 ??
But...everything did proceede...so...maybe not a big deal?
Step 3: Activate the newly created virtual environment
Still in the Anaconda Prompt...execute
conda activate freemocap-env
Notice how (base) becomes (freemocaptest2). If you named your virtual env freemocap, it'll show that, if you named it "im_a_unicorn", it'll show that.
Step 4: Inside the Virtual Environment, Install Freemocap
pip install freemocap -v
This took a few minutes for me.
Step 5: Execute Freemocap RunMe
Still in the Anaconda Prompt...execute
ipython
import freemocap as fmc
fmc.RunMe()
Which pops up this delightful little guy:
I selected the 'Save File Paths and Proceed' Option.
Step 6: Configure Webcams and Charuco Board
Once you see this dialogue box, you're in great shape!
It means things are working so far and now you get to Configure Webcams and Charuco Board !