JdeRobot / ObjectDetector

16 stars 14 forks source link

Automatic installation of dependencies #1

Closed naxvm closed 6 years ago

naxvm commented 6 years ago

We can focus on automatizing the installation of the required Python packages for executing the network, thanks to the python-pip, creating a requirements.txt file, with this format:

opencv_python >= 3.3.1
tensorflow >= 1.4.0
scipy >= 1.0.0
sklearn >= 0.0
progressbar2 >= 3.34.3
h5py >= 2.7.1
cprint >= 1.1

Although the version is not mandatory, you can consult it by executing pip list | grep yourpackage, and adding a new line to the file requirements.txt, which already contains the TensorFlow middleware dependencies.

After this, we'll have to update the README file, guiding the user to execute pip install -r requirements.txt (obviously, JdeRobot must be installed along, via apt, or from sources. We can simply add a link to the installation page).