<UserControl x:Class="VIZ.Framework.WpfTest.OpenCVVideoTest"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:common="clr-namespace:VIZ.Framework.Common;assembly=VIZ.Framework.Common"
             mc:Ignorable="d"  Loaded="UserControl_Loaded"
             d:DesignHeight="450" d:DesignWidth="800">
    <Grid Background="Yellow">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="60"></RowDefinition>
        </Grid.RowDefinitions>
        <common:VideoControl x:Name="video" IsShowFPS="True" Height="400" Margin="40,0,40,0"></common:VideoControl>
        <StackPanel Orientation="Horizontal" Grid.Row="1">
            <Button Margin="10,0,10,0" Width="120" Height="40" Content="图片测试" Click="Button_Click"></Button>
            <Button Margin="10,0,10,0" Width="120" Height="40" Content="清理裁剪框" Click="Button_Click2"></Button>
            <Button Margin="10,0,10,0" Width="120" Height="40" Content="手动校准测试" Click="Button_Click3"></Button>
            <Button Margin="10,0,10,0" Width="120" Height="40" Content="中心轴测试" Click="Button_Click4"></Button>
        </StackPanel>
    </Grid>
</UserControl>
