- Follow the official guide to install tensorflow and/or pytorch
- To test GPU open Anaconda Prompt as admin and type
conda activate tf
python ./test/tf_GPU.py
to test with tensorflow or
conda activate tf
python ./test/pt_GPU.py
to test with pytorch
- Install opencv using conda
- Test cv2 with your webcam
python ./test/cv2_cam.py
Instructions to collect images while performing ductoscopy
- Be sure the virtual environment is active and you are in "data collection" folder
- Edit get_images.py and set labels and number of images
- Run get_images.py
- Collected images will be automatically stored in new created folders corresponding to the labels
- If first use run setup_labelImg.py to clone the repository.
- Run set_labels.py
- Opend folder of the images you want ot label
- Press "w" to start labelling and CTRL+S to save the labelled image