I am trying to figure out how to overlay an image or text box on an image in WPF. The video stream from the Kinect sensor will be placed on the base image, and I want to overlay the image on it. For example, the video stream will contain a text field in the feed that will update the counter or tree image on top of the video stream.
Is there an easy way to achieve this in a layout? Is it just a matter of changing properties or adding canvas?
The following image better illustrates what I'm trying to do:
Grid - , Back Front Canvas ,
:
<Grid> <VideoControl><!-- I've never tried video --></VideoControl> <TextBlock Text="My Text" /> </Grid>
<Grid.ColumnDefinitions> <Grid.RowDefinitions>, ,
<Grid.ColumnDefinitions>
<Grid.RowDefinitions>
WPF , Grid. - , .
Grid
<Grid> <Image Source="image on lowest layer" /> <Image Source="overlaying image" /> </Grid>
Source: https://habr.com/ru/post/1526820/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1526814/how-to-make-addthis-to-work-with-rails-4-turbo-links&usg=ALkJrhgn-ElcajDXrTlkF-bwsDq0ByUdXgclang compiler produces various object files from the same sources - gcchow to make this work with rails of turbine 4 - javascriptShow me listening to Spotify - javascriptAJAX Get from JSON Tree - jsonConvert binary to decimal integer output - pythonHow to use Python to convert octal to decimal - pythonNonlinear optimization with Python - pythonΠΠ΅Π²ΡΠΏΡΠΊΠ»ΡΠΉ ΠΎΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΎΡ - optimizationHow can I perform R CMD ** validation, not ** validation, to validate non-ASCII characters in data? - rAll Articles