Intro I am demonstrating real time detection of F1 cars per team on a video stream.NOTE: For speed and simplicity I trained the model only with top 5 teams of 2019 season. Training Classes: MCL34: McLarenSF90: FerrariW10: MercedesRB15: Red BullRS19: RenaultSC-AMG-GTR: Safety Car Technologies I used YOLOv3 and OpenCV. Demo Full video available on YouTube
Interactive Event Sourcing in Motorsports
Overview In the previous post we talked about Event Sourcing, its definition, components, benefits, techniques, etc… so you can get your development journey of an ES based system started. Next sensible step, in order to get into the ES mindset, is to go through the thinking process of building a real system (as real as…
Just Event Sourcing
Overview I wanted to share my practical learning experience of Event Sourcing. There are numerous resources online talking about Event Sourcing, and you might wonder what is new in this post?! I promise there are no major breakthroughs in this post, however, the main goal is to present ES in its simplest form. One of…
Using ViewModels with React-Redux
We are in the era of micro services, and soon or later, if you are involved in a full stack development, your client application would have to consume various web services in order to deliver the business requirements. With multiple services comes the complexity of handling various data formats, protocols, authentication, etc… Ideally we would…
Fetch data using JavaScript from ASP.NET Core localhost
A quick post to give an insight on a non expected problem most likely you will stumble across when you start creating a little web app using your favorite web app framework and and ASP.NET Core web service running in your localhost. It also seemed to be a common question on the internet, but I…
Attacking the Flickering Jagged Edges of Mixed Reality in Unity3D
Intro If you have started woking on a Windows Mixed Reality project using Unity and Mixed Reality Toolkit, you might have encountered an annoying visual effect of flickering jagged edges AKA Aliasing, once you run the app on a physical immersive head mounted device (IHMD). The reason i am saying once you run it on…
TestStack White: Find Elements using AutomationElement Extensions
Have you ever faced the issue where finding an UI element using TestStack White SearchCriteria API returns null? If yes, here are few alternatives that utilises the AutomationElement.
1 2 3 4 5 |
var tabGroup = window.Get<Tab>(SearchCriteria.ByControlType(ControlType.Tab));//return null //OR var tabUi = window.Get<UIItem>(SearchCriteria.ByAutomationId("ToolWindowTabGroupId"));//return null //OR var tabGroup = window.Get<Tab>(SearchCriteria.ByClassName("ToolWindowTabGroup"));//return null |
The alternative approach uses AutomationElement which is part of the Microsoft UI Automation API. Simply, it iterates through the children elements of AutomationElement of the White…
Visual Studio Extension: Show Solution Path on Window Title
A simple Visual Studio extension that shows the solution full path next to VS window title. To achieve that i create a visual studio extension package that needs to load as soon as a solution is detected. Then, i hook to solution opened and renamed events. On both events i read solution’s full path and append…
WPF ItemsControl with TestStack White
Problem If you are reading this blog most likely means you have been through the same unsuccessful experience I had of trying to get a WPF ItemsControl control via automation ID using TestStack.White API (v0.13.3) in order to carry on some UI test automation.
1 |
public ObservableCollection<string> DummyDataSource { get; set; } |
1 2 3 |
<ItemsControl x:Name="TheItemsControl" AutomationProperties.AutomationId="TheItemsControlId" ItemsSource="{Binding DummyDataSource}"/> |
Acquiring a WPF ListBox via automation ID using White is simple job.…
Rx Sample Application: From Requirements to Implementation
Intro The purpose of this post is to put in practice and crystallise what we learnt in the Reactive Programming post. The deliverable of this post is a desktop application built with WPF (MVVM) and Rx. However, the concepts apply to any UI framework; web, mobile, or desktop. If you want to know more about reactive…