You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title described, I have tried to setup the gr.Image(tool='sketch') as follows :
The web exactly supports the sketch-pen for us as follows :
However, I believe someone discover the problem, the default sketch-pen extremely bold and the corresponding color is transparency white, which is barely visualize in the image.
Does it have any support for this method for adjusting the sketch-pen bold shape, such as shape=(7, 7) and the color picker of sketch-pen?
What I have tried :
I have tried the following setup for gr.Image
As expected, it doesn't work. The sketch-pen is still extremely bold..
What worse
For the default setup of scratchpad mode image_mode="L", source="canvas", shape=(28, 28), invert_colors=True, the shape can be adjusted by shape=(7, 7).
the setup code
Any suggestion and feedback will be appreciated!!
The text was updated successfully, but these errors were encountered:
The shape kwarg doesn't control the brush. However this is being worked on.
The weird scaling on the brush is a bug, the ability to resize it is a feature that we will be adding (as well as selecting an appropriate default size depending on the cavas size).
As the title described, I have tried to setup the
gr.Image(tool='sketch')
as follows :The web exactly supports the sketch-pen for us as follows :
However, I believe someone discover the problem, the default sketch-pen extremely bold and the corresponding color is transparency white, which is barely visualize in the image.
Does it have any support for this method for adjusting the sketch-pen bold shape, such as
shape=(7, 7)
and the color picker of sketch-pen?What I have tried :
I have tried the following setup for gr.Image
What worse
For the default setup of scratchpad mode
image_mode="L", source="canvas", shape=(28, 28), invert_colors=True
, the shape can be adjusted byshape=(7, 7)
.the setup code
Any suggestion and feedback will be appreciated!!
The text was updated successfully, but these errors were encountered: