Add smart library demo#1
Open
ivanvikhrev wants to merge 1156 commits into
Open
Conversation
02b57ad to
8bbb08a
Compare
Author
| return bID | ||
| except ValueError: | ||
| return -1 | ||
| def main(): |
There was a problem hiding this comment.
вставить пустую строку перед функцией
| data = bookRec.recognize(img) | ||
| try: | ||
| bID = int(data.split(' ')[0]) | ||
| print(bID) |
There was a problem hiding this comment.
У меня вопрос, каким образом делается логирование в стандартных семплах. Надо использовать для логирования те же инструменты.
| 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.
Надо проверить, что написание названий функций соответствует принятому в библиотеке стилю кодирования.
| 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.
Не уверена, что стиль кодирования семплов предусматривает пробел перед квадратной скобкой. Надо в целом проверить стиль кодирования, а то у нас зоопарк по семплу.
| return self.counter | ||
|
|
||
|
|
||
|
|
There was a problem hiding this comment.
Надо удалить лишние пустые строки
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.