WPF 使用Image 捕获摄像头数据,并将image改为圆形
<Grid >
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition Height="auto"/>
</Grid.RowDefinitions>
<Image x:Name="picBox" Margin="10" Stretch="Uniform" Source="Images/IDFace.png" ></Image>
<Path Margin="-1 -1 0 0" HorizontalAlignment="Center" VerticalAlignment="Center" Data=
"M322.5,17.999995 C198.51208,17.999998 98,118.51208 97.999997,242.5 98,366.48791 198.51208,467 322.5,467 446.48792,467 547,366.48791 547,242.5 547,118.51208 446.48792,17.999998 322.5,17.999995 z M0.5,0.5 L644.5,0.5 644.5,484.5 0.5,484.5 z" Fill="White" StrokeThickness="0" />
</Grid>