309
edits
Fredblaisb (talk | contribs) No edit summary |
Fredblaisb (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
[[File:Video_connection.png|400px]][[File:Feed_selection.png|400px]] | [[File:Video_connection.png|400px]][[File:Feed_selection.png|400px]] | ||
Now that I have an input, I needed to generate informations out of it in order to trigger the signal at the end of the patch. To do so, I based my patch with this [ | Now that I have an input, I needed to generate informations out of it in order to trigger the signal at the end of the patch. To do so, I based my patch with this [https://cycling74.com/tutorials/making-connections-camera-data frame-differences tutorial]. In this patch, the "jit.op" object calculates the difference in pixels between the image and its previous one and the "jit.rgb2luma" object transfer it as a luma channel. That way, everything that is still in the image become black and the difference between images (so what is in motion) becomes visible in white. | ||
[[File:Frame_difference.png|400px]][[File:Luma_channel.png|400px]] | [[File:Frame_difference.png|400px]][[File:Luma_channel.png|400px]] |
edits