Closed pooyasa closed 2 months ago
thanks for your respond and checking in this repo, yes sure you have to create venv :D and please clone the yolov5 from their repo
Sure. Also by default, main_yolo reads from a file which does not exist. Settings button does not work so you need to change config.ini or line 361 to self.Capture = cv2.VideoCapture(0)
to read from the webcam.
Also, any way to increase the performance by pruning or quantizing the model?
yes possible, you need to train the model based on your own dataset again or from the datasets repos i provided the link in readme, i forgot to change it to work on webcam, your right
C:\Users\Fatemeh\Desktop\pelak>C:\Users\Fatemeh\AppData\Local\Programs\Python\Python311\python.exe C:\Users\Fatemeh\Desktop\pelak\smart-resident-guard\home-yolo.py
Traceback (most recent call last):
File "C:\Users\Fatemeh\Desktop\pelak\smart-resident-guard\home-yolo.py", line 32, in <module>
from database.db_entries_utils import db_entries_time, dbGetAllEntries
File "C:\Users\Fatemeh\Desktop\pelak\smart-resident-guard\database\db_entries_utils.py", line 6, in <module>
from database.classEntries import Entries
File "C:\Users\Fatemeh\Desktop\pelak\smart-resident-guard\database\classEntries.py", line 5, in <module>
from helper.gui_maker import get_status_color, get_status_text
File "C:\Users\Fatemeh\Desktop\pelak\smart-resident-guard\helper\gui_maker.py", line 14, in <module>
from helper.text_decorators import *
File "C:\Users\Fatemeh\Desktop\pelak\smart-resident-guard\helper\text_decorators.py", line 14, in <module>
params = Parameters()
^^^^^^^^^^^^
File "C:\Users\Fatemeh\Desktop\pelak\smart-resident-guard\configParams.py", line 33, in __init__
dbconfig = config_object["DATABASE"]
~~~~~~~~~~~~~^^^^^^^^^^^^
File "C:\Users\Fatemeh\AppData\Local\Programs\Python\Python311\Lib\configparser.py", line 979, in __getitem__
raise KeyError(key)
KeyError: 'DATABASE'
Hello, I am encountering this error while running. Could you please guide me? Thank you
i updated to core, please clone and let me know
C:\Users\Fatemeh\Desktop\pelak>C:\Users\Fatemeh\AppData\Local\Programs\Python\Python311\python.exe C:\Users\Fatemeh\Desktop\pelak\smart-resident-guard\home-yolo.py Traceback (most recent call last): File "C:\Users\Fatemeh\Desktop\pelak\smart-resident-guard\home-yolo.py", line 32, in <module> from database.db_entries_utils import db_entries_time, dbGetAllEntries File "C:\Users\Fatemeh\Desktop\pelak\smart-resident-guard\database\db_entries_utils.py", line 6, in <module> from database.classEntries import Entries File "C:\Users\Fatemeh\Desktop\pelak\smart-resident-guard\database\classEntries.py", line 5, in <module> from helper.gui_maker import get_status_color, get_status_text File "C:\Users\Fatemeh\Desktop\pelak\smart-resident-guard\helper\gui_maker.py", line 14, in <module> from helper.text_decorators import * File "C:\Users\Fatemeh\Desktop\pelak\smart-resident-guard\helper\text_decorators.py", line 14, in <module> params = Parameters() ^^^^^^^^^^^^ File "C:\Users\Fatemeh\Desktop\pelak\smart-resident-guard\configParams.py", line 33, in __init__ dbconfig = config_object["DATABASE"] ~~~~~~~~~~~~~^^^^^^^^^^^^ File "C:\Users\Fatemeh\AppData\Local\Programs\Python\Python311\Lib\configparser.py", line 979, in __getitem__ raise KeyError(key) KeyError: 'DATABASE'
Hello, I am encountering this error while running. Could you please guide me? Thank you
i have the same error when i run code in google.colab.: if you can solve it , share your tip. thank you.
Traceback (most recent call last):
File "/content/drive/MyDrive/persian-license-plate-recognition/home-yolo.py", line 32, in
Hi!
Currently found 2 issues.