thanks! I try this in old film photos that got partially destroyed by rain
@thomasgoodwin26485 ай бұрын
I use CV2, PIL, and some direct numpy for image/video restoration (brightness, contrast. History EQ, gamma function, upscaling, sharpening, etc). I really want to bring in more AI (really ML) into the mix. CV2 does some neural net stuff (mainly upscaling and segmentation), but it's kinda slow, and I'm already kinda at the limit of my coding skills/brain power. Recently started adding in temporal upscaling (frame tweening) to the video side, but that's still a separate app. The results I'm getting these days is quite astounding, and I find it increasingly difficult to watch old movies without thinking "This looks like crap! Gotta fix it!" Love applying this stuff to really old video. It puts a smile on my face when I grok that I'm seeing this old footage in better condition than those who saw the the original when it was made.
@ccc_ccc7895 ай бұрын
@@thomasgoodwin2648 thanks!
@Dyanosis5 ай бұрын
That code could definitely use a method to reduce the redundancy of all those plt statements... not very DRY.
@davidnezval66765 ай бұрын
Good Job.
@dipeshsamrawat79575 ай бұрын
Thank you 😊
@thomasgoodwin26485 ай бұрын
Not really necessary to use matpolotlib either as CV2 has built in display functions (though I do see that it's a bit easier to create sub-plots within a single output image). Generally I just create a window for each image I wish to display directly in cv2. I generally find it better for processing video. As a matter of personal opinion I have to wonder what the originators of OCV were thinking when they decided on BGR vs RGB (that by then EVERYone was using). Really gets messy when you bring PIL into the act as well, since you have to convert back an forth there too. n 🤟, 🖖😋👍
@TheNei5 ай бұрын
Cool! Thanks!
@Skywalker_96185 ай бұрын
Nice...
@andiglazkov49155 ай бұрын
Thanks
@AkarshRanyesh5 ай бұрын
May I ask what platform are you using for the project. Is it vscode or pycharm. It’s kind cool
@manaspiano4 ай бұрын
It's Pycharm but not with the default theme. He probably has applied a theme of his choice from the plugins.
@HelmutQ5 ай бұрын
Why is a colon used instead of = for giving keyword arguments in opencv? Any hint what this syntax means?
@HelmutQ5 ай бұрын
VsCode show me a syntax error
@mohamedanfas52445 ай бұрын
bro he doesn't typing that automatically added by ide(here pycharm) for indicating the function variables
@HelmutQ5 ай бұрын
@@mohamedanfas5244 Thank you, was quite confusing, I'm not using PyCharm
@HelmutQ5 ай бұрын
@@mohamedanfas5244 I think I understand what you said. It is of course a minor thing, but I got hung up it for a while. Grateful to you, i.e. the community helping me with it. If one follows his videos regularily one will get used to it, but when you just pick a random video in a search result it might be turning off when you don't know the context. As to PyCharm showing text which is not part of the file finally stored and passed to the python interpreter, I think it does more harm than good. More so, that it is in the same color as the typed text. While PyCharm is indeed a charm for Python, I now use exclusively VsCode. It offers so much more. Other languages, tools for handling containers, ssh, SQL managers, CoPilot. It automatically installs all the plugins into my remote and local VCS, docker containers. I no longer mess with virtual environments but relentlessly and carelessly install what I need into my VCS and and/or containers. One container/VM for every project rather than environment. I would not want to miss Neuralnine. It is really my favourite Python and programming channel.
@mohamedanfas52445 ай бұрын
@HelmutQ "Please note that your IDE is using placeholders to indicate that you need to replace them with your actual information. Simply substitute your own details, and you'll be all set
@tcgvsocg14585 ай бұрын
if its work its amazing
@souravchakraborty57035 ай бұрын
bro please teach some ore thing about ML and Hugging face more use case