Object Detection using coco.names dataset , weights and configuration files of real time object detection algorithm YOLOv3
This is WebApp of my previous repo here
To change the weights and configurations file , you may do so by changing the file directory of the same.
- pip install opencv-python
- pip install numpy
- pip install streamlit
- pip install streamlit-webrtc
- pip install time
- pip install pandas
| S.No | Sports | Living | Things | Vehicles | Safety | Food | Dining | Electronics |
|---|---|---|---|---|---|---|---|---|
| 1 | frisbee | bird | bench | bicycle | traffic light | banana | bottle | tvmonitor |
| 2 | skis | cat | backpack | car | fire hydrant | apple | wine glass | laptop |
| 3 | snowboard | dog | umbrella | motorbike | stop sign | sandwich | cup | mouse |
| 4 | sports ball | horse | handbag | aeroplane | parking meter | orange | fork | remote |
| 5 | kite | sheep | tie | bus | broccoli | knife | keyboard | |
| 6 | baseball bat | cow | suitcase | train | carrot | spoon | cell phone | |
| 7 | baseball glove | elephant | chair | truck | hot dog | bowl | ||
| 8 | skateboard | bear | sofa | boat | pizza | microwave | ||
| 9 | surfboard | zebra | pottedplant | donut | oven | |||
| 10 | tennis racket | giraffe | bed | cake | toaster | |||
| 11 | person | diningtable | sink | |||||
| 12 | toilet | refrigerator | ||||||
| 13 | book | |||||||
| 14 | clock | |||||||
| 15 | vase | |||||||
| 16 | scissors | |||||||
| 17 | teddy bear | |||||||
| 18 | hair drier | |||||||
| 19 | toothbrush |
# Paramaters which can be tuned to your requirements
confThreshold = 0.5
nmsThreshold = 0.2
# for reading all the datasets from the coco.names file into the array
with open("coco.names", 'rt') as f:
class_names = f.read().rstrip('\n').split('\n')
# configration and weights file location
model_config_file = "yolo-config\\yolov3-tiny.cfg"
model_weight = "yolo-weights\\yolov3-tiny.weights"
streamlit run main.py
You can read more about YOLO and more about streamlit
#About Me 😉 I am Rahul Arepaka, II year CompSci student at Ecole School of Engineering, Mahindra University
Feel free to edit with the source code and enjoy coding
You may reach me using