CraftAR Cloud Image Recognition Javascript Library HTML5
With our CraftAR Cloud Image Recognition Javascript Library, you can create your own branded Web apps that run on the latest desktop browsers as well as on Android and iOS devices, with our high-performance Cloud Image Recognition capabilities inside.
This page gives you pointers to the Features; Documentation that includes the Classes, Members and Methods; the Requirements of your system to use this library; Examples; and finally, Release Notes of our continuous updates.
Features
The library can detect the features supported by the browser and help write web applications with Image Recognition.
Your apps can seamlessly switch between two modes:
The Image Selector:
HTML element that asks the user to select an image from the gallery, OS’s camera (by asking the user to take a picture with the device’s built in camera app) or file system.
The camera Capture:
Open the device’s camera or webcam and show the preview. This mode allows you to perform Cloud Image Recognition in two modes:
- Single shot: Take a picture and search.
- Finder Mode: Send continuous queries to the server until a result is found or the process is stopped programmatically.
Documentation
You can find documentation for the library here
Requirements
This library is designed to work with the latest HTML5 browsers. The following table shows the support for the different devices and browser versions.
OS | iOS | Android | PC/MAC |
---|---|---|---|
Image Selector | ![]() ![]() 21+ iOS 7+ |
![]() ![]() ![]() 4.3 + 36 + 21 + |
35 +21 +7 + |
Camera capture & preview | ![]() 11 + |
![]() ![]() 36 + 21 + |
![]() ![]() ![]() 35 + 21 +11 + |
Also note that opening the camera from the browser requires the site to be hosted with HTTPS and a valid certificate.
Releases
April 26th, 2019
- Fixed: Problems opening capture in Safari. Using mediaDevices.getusermedia now.
Dec 11th, 2017
- Changed: Image is now called CraftARImage.
- Fixed: Image Selector throwing: “Uncaught TypeError: e.parseMetaData is not a function”.
Nov 13th, 2017
- Added: Camera capture in Safari 11: now you can open the camera directly in this browser.
April 20th, 2017
- Updated: it now supports being imported in modern Javascript module systems (CommonJS, AMD, ES2015 and ES2016) like those used by RequireJS and Webpack.