submitted by /u/iamkeyur
[link] [comments]
from programming https://ift.tt/2wVXRzR
Day: April 21, 2020
ASCII Art Webcam Effect for Linux
Like everybody else in this COVID 19 time, in my work we are practicing social distancing, so, all meetings are online. One coworker was using a background filter in Teams and i want to do the same, unfortunately, filters are not available for linux at this moment, so, i implement my own filter (for fun).
While researching how to implement filters, i found this excellent post:
https://elder.dev/posts/open-source-virtual-background/
In this post they use docker whit a model called BodyPix for generating a mask of the background, i did not like this. I remember a model called Deeplab, this model implement semantic image segmentation
https://github.com/tensorflow/models/tree/master/research/deeplab
So, i get a trained model form the model zoo
https://github.com/tensorflow/models/blob/master/research/deeplab/g3doc/model_zoo.md
I implement it and!!!!
Nice! but i find the borders too big for me, so i apply an erode filter
Deeplab v3 inference Mask + erode
Better. Next step is mix the input and the mask
The result was not perfect (good for the work), the latency was ok whit my nvidia video card.
OK Background removal finished…. What i do now ? well… I love ASCII Art! y and found this cool post:
https://wshanshan.github.io/python/asciiart/
I implement the ASCII Art transformation function in my code and this is the result:
Pretty cool.
So, next step is make this a make this behave like a Webcam, for that, we use pyfakewebcam and v4l2loopback (like in elder.dev post) and we get this:
You can get the source code and install instructions in:
https://github.com/diegovazquez/ASCIILinuxVirtualWebCam
Thank you for reading.
submitted by /u/dhvazquez
[link] [comments]
from Linux, GNU/Linux, free software… https://ift.tt/2VG953K
Tower Stack – A satisfying but simple tower stacking where the goal is to go as high as you can. Tell me your high score in the comments! [Javascript, HTML, CSS]
Best function ever!! :)
submitted by /u/iamnihal_
[link] [comments]
from Linux, GNU/Linux, free software… https://ift.tt/34Vh8OH
Stripe is Silently Recording Your Movements On its Customers’ Websites
submitted by /u/mcnamaragio
[link] [comments]
from programming https://ift.tt/3btAQTU
How io_uring and eBPF Will Revolutionize Programming in Linux
(read in full at The New Stack)
Covers how io_uring and eBPF work, and how they will impact async application development, using impact on the NoSQL database Scylla as an example.
submitted by /u/PeterCorless
[link] [comments]
from Linux, GNU/Linux, free software… https://ift.tt/2VRpNNI
I built a website that lets you spend Jeff Bezos’ money on expensive items like mansions, cars, etc. Tell me what you bought! [HTML, CSS, Javascript]
Listening to: Dark Was The Night Cold Was The Ground by Cari Cari
Listening to: Der letzte Satz der Welt by Vierkanttretlager
Listening to: Der letzte Satz der Welt by Vierkanttretlager
Listening to: All Night Long by Triggerfinger
Listening to: Garten by Selig
Listening to: Garten by Selig
Listening to: Sarabande by Jon Lord
Listening to: Gem by Zoot Woman
Listening to: Freezin’ In Hell (Remastered) by Mitch Ryder
Listening to: Freezin’ In Hell (Remastered) by Mitch Ryder
AUO and PlayNitride jointly unveil high resolution flexible micro LED display
AU Optronics (AUO) and PlayNitride have jointly announced a 9.4-inch high resolution flexible micro LED display with 228 PPI pixel density.
Germany, France and UK urge transparency from China over coronavirus outbreak
German Chancellor Angela Merkel on Monday urged China to be as transparent as possible about the coronavirus outbreak, as Beijing faces mounting pressure over its management of the crisis.
Critics have accused China of downplaying the scale and scope of the outbreak when it first emerged late last year, while conspiracy theories have swirled in the US the virus could have been leaked from a lab.

Merkel urged for more information about the early days of the outbreak, which originated in the central Chinese city of Wuhan.
“I believe the more transparent China is about the origin story of the virus, the better it is for everyone in the world in order to learn from it,” Merkel told reporters in Berlin Monday.
Chinese scientists say the virus was likely first transmitted to humans at a wet market where wild animals were sold.
Unproven theories that the virus came from a maximum-security virology lab in Wuhan have been raised by US officials, including Secretary of State Mike Pompeo who has said an investigation was under way into how the virus “got out into the world”.
The Wuhan Institute of Virology has strongly rejected claims it could be the source of the outbreak, calling it “impossible”.
Chinese authorities have been accused of initially downplaying the outbreak and last week authorities in Wuhan admitted mistakes in counting their death toll and revised the figure up by 50 percent.

French President Emmanuel Macron last week told the Financial Times it would be “naive” to think China had handled the pandemic well, adding: “There are clearly things that have happened that we don’t know about.”
In Britain, Foreign Secretary Dominic Raab said China will face “hard questions” about the coronavirus outbreak, namely “how it came about and how it couldn’t have been stopped earlier”.
Australia meanwhile has called for an independent investigation into the global response to the pandemic, including the World Health Organization’s handling of the crisis.
Its foreign minister has said the country would “insist” on a review that would probe, in part, China’s response to the outbreak.
from Hong Kong Free Press HKFP https://ift.tt/3cBYIFe
via IFTTT
Affordable sub-6 GHz 5G phones to hit market in 2H20
China-based handset makers have been keen on developing 5G phones supporting sub-6GHz technology, with prospects to see some brands roll out 5G models priced below CNY3,000 (US$424) in the second half of 2020, according to industry observers.
from DIGITIMES: IT news from Asia https://ift.tt/2KkBc3l