-
Notifications
You must be signed in to change notification settings - Fork 2
Setting up Python
Click here to go to Anaconda's website.
Click download, it will take you to Anaconda Installers, once there, choose the latest installer suitable for you.
IMPORTANT: In the installer, choose “Install for everyone”, otherwise you won’t be able to choose between different Python versions in the next step.
2.1 Open the recently installed Anaconda Navigator.
2.2 Click on Environments
2.3 Click on Create and, for the packages, choose Python 3.6.
2.4 After it is created go back to the Home tab and install "CMD.exe Prompt" and (optionally - see Alternative Step 4) "Spyder"
Launch CMD.exe Prompt and invoke the following command:
pip install TensorFlow==1.15 lxml pillow matplotlib jupyter contextlib2 cython tf_slim
Now, navigate to research folder in our machine-learning directory
Example:
cd C:\Users\user\Desktop\group-14\machine-learning\models\research
Then, do the following commands, one at the time:
Python setup.py build
Python setup.py install
pip install paho-mqtt
Navigate to object_detection folder
Example (assuming that you are already in research folder):
cd object_detection
Then invoke the following command:
Python mqtt_to_video.py
You can now close the CMD Prompt and open "Spyder".
Open the following file (CTRL + O) group-14\machine-learning\models\research\object_detection\mqtt_to_video.py and run it by pressing F5.
The script is now ready and waiting for input from the application.