Download presentation
Presentation is loading. Please wait.
16
[0] [1]
19
http://techland.time.com/2012/02/15/50-best-iphone-apps-2012 http://www.pcmag.com/article2/0,2817,2393097,00.asp
22
var captureUI = new Windows.Media.Capture.CameraCaptureUI(); StorageFile file = await captureUI.CaptureFileAsync(Windows.Media.Capture.CameraCaptureUIMode.Photo); BitmapImage image = new BitmapImage(new Uri(file.Path)); Message msg = new Message(buffer); msg.Properties.Add("Width", thumb.OriginalWidth); msg.Properties.Add("Height", thumb.OriginalHeight); await mQueueClient.SendAsync(msg); BrokeredMessage receivedMessage = null; receivedMessage = QueueClient.Receive(); if (receivedMessage != null) { //Read message properties int width = (int)receivedMessage.Properties["Width"]; … //Convert message body, which is a byte array, into a Bitmap var array = receivedMessage.GetBody (new DataContractJsonSerializer(typeof(byte[]))); … } BrokeredMessage msg = new BrokeredMessage(); msg.Properties["Result"] = payload; msg.Properties["AssessmentLevel"] = result.AssessmentLevel; … TopicClient.Send(msg); … receivedMessage.Complete(); if (!manager.SubscriptionExists("ProcessingResult", "FactoryAlert")) { SubscriptionDescription description = new SubscriptionDescription("ProcessingResult", "FactoryAlert"); SqlFilter filter = new SqlFilter("AssessmentLevel = 3"); manager.CreateSubscription(description, filter); } … var thumb = await file.GetThumbnailAsync(Windows.Storage.FileProperties.ThumbnailMode.SingleItem, 95); BitmapImage thumbImage = new BitmapImage(); … byte[] buffer = await converThumbnailtoByteArray(thumb); … Bitmap bw = toBinaryImage(picture); var ret = erode(bw).countHoldes(bw).markFeatures(bw); … ret.AssessmentLevel = mEnforcer.Assess(ret); ret.MissingFeatures = mEnforcer.FindMissingParts(ret); …
28
Please submit session evals on the Build Windows 8 App or at http://aka.ms/BuildSessionshttp://aka.ms/BuildSessions
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.