Skip to content

commitone not use if in python#2

Open
AndreiCherniaev wants to merge 1 commit into
itlab-vision:masterfrom
AndreiCherniaev:master
Open

commitone not use if in python#2
AndreiCherniaev wants to merge 1 commit into
itlab-vision:masterfrom
AndreiCherniaev:master

Conversation

@AndreiCherniaev
Copy link
Copy Markdown

Не смог передать из командной строки флаг и проверить ифом - ругается на иф

cvtColor(image,image,COLOR_RGBA2GRAY)
width = image.shape[0]
image[ : width //2 , :, :] = 0;
image=cv2.resize(image, dsize = (512,512))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Данный код нужно перенести в класс ImageFilter в фалйле imagefilter.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants