This repo is to maintain the DL models & python application of our team for the Flipkart GRID 5.0 - Robotics Challenge
- Box Detection Model
- Barcode Detection Model
- Box Cart is placed below camera
- Python application Begins
- OpenCV takes snapshot of trolley
- Trolley snapshot is passed to Box Detection Model (BDM)
- BDM checks if cart contains any boxes
- If False, go to step 10
- If True, continue
- BDM identifies the "Best Box", the box with the highest confidence level out of all the boxes in the trolley
- BDM sends the XY coordinates of the "Best Box" to Arduino
- Wait till the robot lifts & places the "Best Box" on conveyer belt and sends a response back to python application using Arduino
- Go to step 3
- End application
- Box Cart is placed below camera
- Python application Begins
- OpenCV takes snapshot of trolley
- Trolley snapshot is passed to Box Detection Model (BDM)
- BDM checks if cart contains any boxes
- If False, go to step 16
- If True, continue
- BDM identifies the "Best Box", the box with the highest confidence level out of all the boxes in the trolley
- BDM sends the XY coordinates of the "Best Box" to Arduino
- Wait till the robot lifts the "Best Box" and sends a response back to python application using Arduino
- When response is received, OpenCV takes snapshot of the lifted "Best Box"
- Box snapshot is passed to Barcode Detection Model (BCDM)
- BCDM detects if the upper side of the box contains the barcode or not and stores the result as True or False
- If False, then
- BCDM sends a signal to Arduino for rotating the box
- Wait till the robot rotates the box and sends a response back to python application using Arduino
- When response is received, OpenCV takes snapshot of the new upper side of box
- Go to step 10
- If True, then BCDM sends a True signal to Arduino for placing the Box on conveyer belt
- Wait till the robot places the "Best Box" on conveyer belt and sends a response back to python application using Arduino
- Go to step 3
- End application
- Clone this repository
- Open the file
main.py
- Change the video stream port number in line 8 to the port number of your video stream
- Run the file
main.py
- Run this in cmd for getting support for opencv2's imshow:
pip install opencv-contrib-python