2021.11.28 10:48 Jasonjason17 🍑💦 text my telegram for this full video ❗️I will not respond on Reddit ❗️my telegram is Jason_177
|submitted by Jasonjason17 to Liyahmarie [link] [comments]|
2021.11.28 10:48 Bozzaholic New to the sub. Is there a sub or anything online dedicated to Forza photography?
2021.11.28 10:48 Ddoooash78 https://t.me/joinchat/lytgwFARzi1hOWNk
2021.11.28 10:48 ltsc1980 2021 Volkswagen Santana in China, the Official Car of.....
|submitted by ltsc1980 to regularcarreviews [link] [comments]|
2021.11.28 10:48 SuperBartleby What input display is this?
|submitted by SuperBartleby to rhythmgames [link] [comments]|
2021.11.28 10:48 pepinogg Whats the best model to get bitz from
2021.11.28 10:48 Joshbob121 To much current (HELP)
Hi so currently (pun) my axolotl has way to much current in her tank, and usually I would put a cloth over it to stop the flow, but I have lerned that doing that makes a biofilm that could trap all the oxogen out of the water. right now the current is still too strong, and my axi looks quite grumpy, and I dont know what to do. any help is greatly apreceated!!!!
submitted by Joshbob121 to axolotls [link] [comments]
2021.11.28 10:48 Thursday_Man Flandre Can Turn Invisible
|submitted by Thursday_Man to touhou [link] [comments]|
2021.11.28 10:48 MediocreSwimming What is the most toxic thing someone said to you?
2021.11.28 10:48 Scoxxicoccus Bees slurping up water to carry back to their hive.
|submitted by Scoxxicoccus to natureismetal [link] [comments]|
2021.11.28 10:47 jimmygarterex Yo what happened?
|submitted by jimmygarterex to memes [link] [comments]|
2021.11.28 10:47 Agima FREE: Create a Node JS backend app and host it on AWS (Free course for now)
|submitted by Agima to Coursemetry [link] [comments]|
2021.11.28 10:47 UnfulfilledDreamz Action Bronson - Ceviche
|submitted by UnfulfilledDreamz to actionbronson [link] [comments]|
2021.11.28 10:47 Advanced-Theme144 Chroma Key software built with python
| After a whole week and a half, I have finally completed my project, so without a further ado... I present to you all my Chroma Key software.|
This program has two functions, one is changing the background of pre-recorded videos and the other is changing the background live, for example when in Google Meets. To use it you will need to take a photo of the background you want to exclude, and then insert it into one of the lines in the file. You then insert another photo that you want to replace the background into the program and run it. I am going to make a simple GUI later on to make this process more user-friendly, but for now I have added instruction in the README.md file on how to do it.
My program uses basic concepts in geometry and statistics to remove the background, and these concepts are what I'm learning in AS-Levels currently. It then splits the video into it's individual frames and edits each of them. The program works like so in a nutshell:
When you insert the photo of the video's background into the program, it analyzes it and returns a list containing all the unique colors present. In my first version of testing these color values where enough to change most of the background, but not all. The reason for this is because of changing light levels. So how do you counter these light levels, you may ask? Simple, create a range of colors in the image that are allowed to be edited.
This would have been very simple with grey-scale videos since they only have one channel, but as we all know videos use three color channels, red, green, and blue. This therefore made it difficult to create a range of accepted colors, since I couldn't just write:
This condition would end up converting the entire frame instead of parts of it, since all pixel colors fall in this range. I would have to centralize it. So the first thing I did was create a 3d graph representing all the color values in the background:
This graph has the red, green, and blue values along the X, Y, and Z axis respectively. From the graph you can tell that these colors are going from black to white. All I needed to do was construct a cuboid that would surround these points perfectly. This would therefore create the perfect range for comparison.
I achieved this by creating 8 line equations which have the following format of
From these graphs I can draw out 4 lines for each of them that surround the lines:
These two rectangles form a cuboid that surround all the color values perfectly. Therefore I can pass a color value and check if it is within this cuboid. If it is within the cuboid, then the pixel color will be change, if not, nothing is done to it.
But there is one problem, the light levels. As you record a video, the light levels will constantly rise and fall. This could be due to the clouds in the sky, or your own shadow against the wall. Either way, you can't stop the changing levels of light. But you can account for them using an offset value.
This offset value is added to the y-intercepts of each of the line equations. It is calculated by getting half of the standard deviation of all the color values. How did I find this out? By shear luck I guess. It took a lot of trial and error but I finally came to the conclusion that this works with any video and background. (Assuming the background is a constant color.) And that's how my chroma key works.
One of the biggest challenges I had with this project was the speed. It took ~6 seconds at first to edit a single frame, and that was just way too long if I wanted to edit half an hour videos or evening use it in google meets. So to speed it up, the program uses the library Numba. This idea was not mine, the credit goes to u/dkxp. He helped speed up my code using Numba and it's speed increased to 0.01 seconds per frame. This speed up was perfect to use for live camera streaming since there wouldn't be any lag. So thanks u/dkxp.
I hope that this works for you guys too, especially if you have an actual green screen. I'd love to hear if it works well and let me know of any problems.
submitted by Advanced-Theme144 to Python [link] [comments]
2021.11.28 10:47 Monstrodolago People from non-English speaking countries: what's your opinion on the use of anglicisms? Do you perceive it as a threat to your maternal language?
2021.11.28 10:47 xShaggyDoo710x H: 3star handmades W:offers
2021.11.28 10:47 Anomaly1134 What is your favorite Hamilton song and why?
2021.11.28 10:47 mammuman Where can I get toy (short) broomsticks for kids?
2021.11.28 10:47 EDMLiveset Rinse FM Podcast 2021-11-25: Jyoty
|submitted by EDMLiveset to EDMPodcast [link] [comments]|
2021.11.28 10:47 chinesedramaworld Top 10 Chinese Dramas with Smart Female leads [Historical Version] | Sma...
2021.11.28 10:47 REAPERD0C Thanks for the add :)
2021.11.28 10:47 EDMLiveset The Anjunadeep Edition 377 with William Orbit
|submitted by EDMLiveset to EDMPodcast [link] [comments]|
2021.11.28 10:47 Llamayoda Life imitates art
|submitted by Llamayoda to CumTownChat [link] [comments]|
2021.11.28 10:47 madiekate87 Had a long day but felt cute 🥰👉👈
|submitted by madiekate87 to crossdressing [link] [comments]|
2021.11.28 10:47 HiLmAO10 BITS GOA VS VIT VELLOE CSE
I got admission in BITS GOA chemical in the last iteration, but am currently 2 months into studying CSE with Data Science at VIT VELLORE. I am super confused as to what to do. If I am to be honest, I am not sure what my interests are. I like coding etc but I don't think its my passion if u understand what i mean. I don't know much about the scope of Chemical in India. Apart from the amazing tag of being a Bitsian, the only reason I am inclining towards BITS is the far lower number of students. VIT Vellore has 3k students ONLY in CSE core(fresher), while I think BITS GOA has a total of 3k students. I point this out as I am not a massive fan of crowds. There is the risk of joining college about 2 months late, missing out on a lot of the syllabus and the whole friend making process (sry for the cringe lol).
I am well-adjusted in VIT Vellore ,I think. Starting to make decent friends and the teachers and students seem alright. I was blown away by the quality of students in my class itself, some of them have such extensive experience in coding and are extremely knowledgeable. Many of them have scored marks in JEE and Bits much higher than mine but seem perfectly content in VIT Vellore. As I said, I am not fully sure if my interests are in coding or cs related fields, and the tag of BITS is a bit of a dream of mine. But not sure if Chemical is a safe branch for me, as I think I am more likely to get to know my interests doing CS.
I have to make a decision by tomorrow, so pls all suggestions would be appreciated.
submitted by HiLmAO10 to BITSPilani [link] [comments]