This is my project to classify objects using yolov5 and tkinder
Steps to function it:
-
Press the green "Code" button and press download zip
-
Open the zip file, right click the folder and press "new terminal at folder"
-
Type in "cd project_tkinter" in the terminal and press enter
-
Type python + the python version you are using and app.py (e.g. python3 app.py)
-
A window should pop up
-
Press "Upload files" and upload a picture you wish to predict picture of cat: https://www.google.com/search?q=picture+of+cat&rlz=1C5CHFA_enHK955HK956&sxsrf=ALiCzsZJYPhBElG4xVExnpV98qQ6ohSrrg:1671542178204&source=lnms&tbm=isch&sa=X&ved=2ahUKEwjwz4juo4j8AhVU6jgGHdqGBtAQ_AUoAXoECAEQAw&biw=1199&bih=819&dpr=2#imgrc=BBEQz5BdOWu86M picture of human: https://www.google.com/search?q=picture+of+person&tbm=isch&ved=2ahUKEwixjfW9pIj8AhXRCN4KHSl5BsAQ2-cCegQIABAA&oq=picture+of+person&gs_lcp=CgNpbWcQAzIFCAAQgAQyBQgAEIAEMgUIABCABDIFCAAQgAQyBQgAEIAEMgUIABCABDIFCAAQgAQyBQgAEIAEMgUIABCABDIFCAAQgAQ6BAgjECc6BAgAEENQ1AZYxhJgsxRoAHAAeAGAAZgCiAGCBpIBBTQuMi4xmAEAoAEBqgELZ3dzLXdpei1pbWfAAQE&sclient=img&ei=SbahY_HEJ9GR-Aap8pmADA&bih=819&biw=1199&rlz=1C5CHFA_enHK955HK956#imgrc=r9mku1heuhPoLM
-
You should be able to see your predicted image with a confidence rate :)