add feature: images can now be loaded from the bytes() object - #105
Open
SerinaNya wants to merge 6 commits into
Open
add feature: images can now be loaded from the bytes() object#105SerinaNya wants to merge 6 commits into
SerinaNya wants to merge 6 commits into
Conversation
Owner
|
Thanks for this. A merge request is always welcome. |
Author
|
If only 3D-matrix images can be passed in, the user must convert the image to something like a cv2 object first. If the wrong parameters are used when reading the image using cv2, the blind_watermark will not work properly. In my case, your lib is used with a web framework which returns the image uploaded by the user as a 如果只接受 3D-matrix 对象,那么使用者必须事先将图片转换为 cv2 对象之类的。如果使用 cv2 读取图像时提供的参数错误,将导致你的库无法正常工作。 |
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.
bytes()objectREADME_cn.mdREADME.mdyet