-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add smart library demo #1
base: master
Are you sure you want to change the base?
Conversation
02b57ad
to
8bbb08a
Compare
return bID | ||
except ValueError: | ||
return -1 | ||
def main(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
вставить пустую строку перед функцией
data = bookRec.recognize(img) | ||
try: | ||
bID = int(data.split(' ')[0]) | ||
print(bID) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
У меня вопрос, каким образом делается логирование в стандартных семплах. Надо использовать для логирования те же инструменты.
putText(img, text, (5, indent), 0, 0, cv.FONT_HERSHEY_PLAIN, | ||
(22, 163, 245), 1, 1, 0) | ||
|
||
def recUser(img): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Надо проверить, что написание названий функций соответствует принятому в библиотеке стилю кодирования.
DB = DynamicDB() | ||
|
||
if (args.rdDet != None and args.fdDet != None and args.lmDet != None): | ||
rdArgs ['name'] = args.rdDet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не уверена, что стиль кодирования семплов предусматривает пробел перед квадратной скобкой. Надо в целом проверить стиль кодирования, а то у нас зоопарк по семплу.
return self.counter | ||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Надо удалить лишние пустые строки
AC: fix IR loading
…-rc1 2019R4 models RC1
…s-docs remove end of lifed models from index and folders tree
…cases remove old models from test cases
* AC configs: adopt to new layout * add fp32-int8 according to RC1 content * resnet18-xnor
…er-weights demos: update cnnnetreader weights reading
Test demos on new reid, update reid with output of 512
AC: Switch to pytest 5
Or, in the case of the quotes around "The PASCAL Visual Object Classes (VOC) Challenge", just remove them entirely, because they aren't needed there.
This has a few small benefits: 1. There's no possibility of the editor misdetecting the file encoding and displaying the source incorrectly. 2. For esoteric characters, names are easier to understand than the characters themselves. 3. It's easier to distinguish between similar-looking characters this way.
This avoid rereading the entire file from disk once it's written.
…ading downloader: hash files while they're downloading
…_channel [Public models]: fix typo in model.yml
Mostly, just remove "sh" from blocks with help text, since they are not in any formal language. But there are also a few cases where a block was labeled with the wrong language.
…amvid-onnx-0001 add unet-camvid-onnx-0001 description
Remove non-ASCII characters
Also, improve the wording a bit.
security_barrier_camera_demo: add optimization hints for Intel VAD
demos: fix the languages specified for code blocks in the docs
This automates the process I've been doing manually so far. This will make it easier, and will enable everyone else to do it too.
Add a script to update ci/requirements-*.txt
…update_aslnet_model Updated ASL Recognition model to the new one
No description provided.