Complete end to end pipeline designed for users to train their own object detection machine version model.
- Within the DataLabeler Folder run ImageRecorder, this will take pictures with your webcam and save them to a folder, if you have your own pictures copy and paste them into the Images folder and skip this step
- Download the Labeling Tool here https://tzutalin.github.io/labelImg/ Label the images saving the XML files in a folder called Labels
- Run the Convert Script, this will convert the XML files into jsons parseable by the train script
- Configure the ObjectDetectionConfig.json file with the appropriate settings i.e. entities directory names, the Dataset directory is simply a directory containing both the Images and Json folder.
- Run the train script, depending on your hardware this may take some time. If a GPU is available on your system it will be used. As of now Mult-GPU is not supported.
- Create an instance of the Predictor class, examples of how to use it are in the main function. The Predict function takes an image and returns a dictionary corresponding with class names and bounding box location