-
Notifications
You must be signed in to change notification settings - Fork 261
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
intersection brushstroke question #47
Comments
Hi @Miata1z, the physical implementation seems to be an interesting idea! To remove the semi-transparent effect, you can modify line 293 and line 314 of networks.py to the follows: Please tell me whether it works. Thanks! |
Hello! The modifications that you suggested to me did not help me (I am attaching a video before / after modification networks.py). At first I was delighted when I saw how the result was rendered in the G_pred window, although at the end the model produced something completely different :) (Pic 1). Hence the question, the G pred generation window did not take into account the edits that I made to the file? (networks.py) While I settled on the oilbrush model, but ran into a gradient problem (pic 3), it would be difficult to repeat physically :) The question is off topic. Could you tell me how to save generation strokes separately? I mean... (Pic 5) Thanks!
rendering video (original networks.py) face animated (original networks.py) rendering video (modified networks.py) face animated (modified networks.py) output files (png strokes, etc) |
@Miata1z, sorry it was my bad. You can ignore my last suggestion and update the line 64 and line 94 of demo_prog.py to: This will constraint the alpha value of the strokes close to 1.0 both in the optimization and the final rendering phases. Please let me know whether it helps this time. |
@Miata1z By the way, I think your idea of physical painting with a robot arm is amazing. I really want to see if you can achieve that. Would you like to share the physical painting results with me when it is ready? No matter it succeeds or not will be interesting. |
Of course I will. In turn, I want to say that without your repository nothing would have happened :) |
If you don't mind, I have a couple more questions :) I don't think this will affect the result, but is it possible to somehow remove these artifacts? As you already know in what follows, I want to transfer the coordinates of the strokes to the plotter. Perhaps I'm complicating it and your algorithm already contains coordinates that I can convert and send to the plotter? Thanks! |
@Miata1z, good questions are sorry for the late reply. For the step-by-step strokes, you can find them in the For the configuration of the stroke coordinates, you can refer to the supplementary material of our paper. |
Hello, Sir. I am trying to physically recreate the "sketch" that made the model (markerpen). I chose the markerpene because in the process it will be convenient to decompose it into vectors/points (pic 1). I am going to paint with acrylic/oil, but this type of paint(acrylic/oil) cannot physically replicate it (pic 2, I called effect - intersection brushstroke). I cannot ignore it because it will affect the final result of the drawn (I mean, because of these intersections, a picture is formed)
Can I teach a model to rule it out? Perhaps changing it to a new smear? Perhaps I missed something and there is a ready-made solution? Thanks!
![image](https://user-images.githubusercontent.com/94769375/142746377-3f28458a-e5f6-4870-b648-5de25625d0c5.png)
Pic 1
Pic 2
The text was updated successfully, but these errors were encountered: