Object recognition from photo in Xamarin Forms - xamarin

I am currently looking to add a functionality where the user takes a photo (which has already been implemented) and then have it analyzed where either the landscape or the object is identified.
I came across Microsoft Cognitive Services (https://devblogs.microsoft.com/xamarin/using-object-detection-from-inside-your-xamarin-app/) that works fine!
The only issue now that i've implemented this library is that i am limited in the way that i have to manually write in the things i want identified in the picture.
My question now is if there is a SDK or library out there that does what im looking for? So lets say the user takes a photo of an apple, beer or a chocolate bar then i want those tags returned to me after the photo has been analyzed.

Related

Bigcommerce product image customization with text change

Currently I am trying to build such customization of product in Bigcommerce Storefront that allows to display image with dynamic text, which was entered in Textbox. That means product image preview should be shown INSTANTLY with new image with written text.
so that the end user will know how the final product will looks like and also same image should go in shopping cart as well.
I know that there is an app on Shopify named as Product Builder.
Is this possible to do it on Bigcommerce?
Thanks in Advance
It's definitely possible with some fairly advanced client-side code. Unfortunately I don't know of any plug and play systems or apps for Bigcommerce that will achieve what you're looking for, but there are a couple ways to get a live updating product preview if you're willing to get your hands dirty.
Here's an example from my site. Click the button under "personalize this item", and you'll see a live preview image like you describe in the modal. Enter some text and change the monogram style and color, the preview image should update pretty quickly every time you change an option. A solution exactly like mine may not be feasible for you, since that site is using a pretty complex React/Redux implementation built on an extensively customized Stencil theme... it's far from a turnkey solution. That said, you could implement something similar without needing a totally custom app.
The image preview itself in the example above is powered by IMGIX.com. They offer a great service at a fantastic price. Basically my system translates the user-selected Bigcommerce option into a URL string per IMGIX's URL-based API. Displaying the live preview is then as simple as changing the image's src attribute to the corresponding IMGIX URL on every input change. I do this in a React component that consumes a Redux store, but something similar could definitely be done in the framework of your choice, or plain old vanilla JavaScript. Cloudinary offers a similar (maybe even a little bigger) feature set to IMGIX, but I found IMGIX to be a bit faster, and the pricing was considerably less for my usage.
You could also write something that uses the HTML5 canvas to overlay text and effects on an image, and thereby avoid using a third-party service. I found such a solution to be way more work and way more taxing on the client-side device, but it'd definitely be another way to skin the proverbial cat.
There may be other viable solutions out there, but the above has been my experience in implementing something similar to what you're looking for on Bigcommerce. I hope this is helpful!

JavaScript interaction with PowerPoint documents

I have a task pane add-in for PowerPoint in mind that can help users with tasks on the active presentation. With Microsoft Office becoming more and more popular on platforms besides Windows using the JavaScript API would make a great portable implementation. There are a number of COM add-ins doing things like these via the PowerPoint object model:
Get the color of a selected shape and apply to another
Change position of shapes to align
them
Copy one or more shapes from a slide in a presentation to
another
Upload a selected image to a web service
Insert a slide
downloaded from a web service
After going through the JavaScript API documentation it seems like these things are impossible at the moment. getFileAsync sounds remotely promising but does not help in the end. getSelectedDataAsync only returns text or titles and IDs for slides. So this isn't a solution either.
Is it correct that for the tasks above I am currently out of luck with the available JavaScript API for PowerPoint? I.e. I will need to wait for a more comprehensive API to become available (like the APIs for Word and Excel)? Anyone knows if Microsoft has something in the works here?
Right now the Office extensibility team has been investing heavily in Excel and Word JavaScript APIs, the PPT API will also be available in the near future, but I cannot disclose any specific date. Stay tuned!!!

wp7 In-App View Directions in Map

I wanted to ask is it possible to Show Directions in Map View (Bing) in Windows Phone 7. I want to show the route (lines) from present location to a specific location in my Map Component.
I had gone down the path of in-app routing, as per the link Avijeet Singh provided, however I'd recommend against it. It took a significant amount of effort to handle real world scenarios and in the end the result was not as smooth or polished as the native Bing Maps experience. Having been there, unless there is a very compelling reason to display the routing information in app, I'd advise that you look at using BingMapsDirectionTask. If you've implemented Fast Application Switching then the switch back / forth to the native maps won't be too jarring for user. Even having implemented routing in-app I ended up removing it and using the BingMapsDirectionTask
Go through his link
http://msdn.microsoft.com/en-us/library/ee681887.aspx
its for silverlight and will work on wp7 with some modifications.
here is another one if you just want to show a polyline on map control
http://guinnesslee.wordpress.com/2011/06/25/plotting-routes-onto-bing-maps-in-wp7-and-storing-it-an-obversable-collection/

How to make or use a standard Image Viewer for WP7

I want to make an app that shows pictures. But I want to be able to zoom in and out with gestures. I fixed this by including a toolkit into my project. But my actual question is, can I use or is there a control that's already created for me to show pictures like the picture library of the WP7 phone itself. I thought there wasn't but the Facebook app has a similar way of showing the pictures. Did Facebook rewrite the whole thing or is there a control somewhere that someone made?
The SlideView control in Telerik's RadControls for Windows Phone sounds like what you're looking for.
Have you tried a MultiScaleImage control? It's designed to work with multiple layers, but if you only specify one layer, it might suit what you're trying to do.

Is it possible to add custom Data Detectors to OSX Cocoa applications? (such as Mail.app / Safari)

As the title suggests...
Is it possible to add custom Data Detectors to Cocoa apps?
If so, a gentle nudge in the right direction would be great.
Note: To be clear. I want to add new detectors to currents apps. I am not writing a new app.
Thankyou
W
It's not even possible to build a custom data detector on anything but iOS 4. NSDataDetector is only available on iOS 4 and above.
If they existed on OS X and were a plug-in class like Spotlight importers, that'd be a nice feature. Perhaps filing a request at bugreport.apple.com would help it along?
Later update
I think the reason this hasn't been opened up with an API is because they're only meant to find common data (contact info, dates, URLs) for which there is only one (or just a few) uses. That is, contact info can be stored or used in "the" system-designated app. URLs can be auto-highlighted so they're linkable (clicks invoke the system-designated handler - Safari, an app registered to a protocol, etc.). But there's only one direction to funnel those actions and the endpoint is always a major "convenience app" meant to manage this common information (contacts, calendar, browser, email app, phone app...)
On the other hand, consider app-specific information. Data formatted a certain way for use with one app or platform might mean something else entirely to another application. In fact, this is rather common. So what happens when a string like %%SOMESTRING%% is detected? To one app, it might be a placeholder token. To another, it might be a user name. To another still, it might be interpreted as %%USERNAME followed by %%. Suddenly the simple system-wide UI for handling basic data types has to account for multiple actions and/or multiple "data detector plugins" claiming all or part of a format.
I'm not sure we'll ever see custom data detector APIs on iOS or Mac for this reason alone.
While custom data detectors aren't available at the OS level, there is a mechanism that will get you almost there. One possibility is to create a Workflow in Automator and save it in the Services menu.
It can be configured to be active when text is highlighted. You'd either go to the current app's main menu and select the Workflow under "Services", or else right click on the text and go to the "Services" menu from there. Not as easy as clicking on the text as you would a URL, but pretty close.
Create a workflow in Automator on Mac

Resources