Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions indepth/features/input.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,25 @@ A local scanner refers to a scanner that is plugged in the same desktop via USB

> As far as `Dynamic Web TWAIN` is concerned, a network scanner is just like a local scanner because its driver has taken care of the network connection behind the scene.
### Scan From an eSCL Scanner
Many modern scanners and multi-functional printers (MFPs) support the eSCL protocol. The protocol is a vendor-neutral network protocol that allows driverless scanning via ethernet, wireless and USB-connected devices. eSCL-compatible scanners advertise themselves via mDNS so that we can find them easily. mDNS is a zero-configuration service. It is implemented by Apple Bonjour and the open-source Avahi software packages.
> See [this blog post](https://www.dynamsoft.com/blog/announcement/dynamic-web-twain-escl-scanner/) for more information about eSCL.
- To scan from an eSCL Scanner to PC, the Dynamsoft Service must be installed on the client PC
- To scan from an eSCL Scanner to Android, you must install the Android Service on the client device from the [Play Store](https://play.google.com/store/apps/details?id=com.dynamsoft.mobilescan).

The following code shows how one way to acquire the image via the eSCL protocol.
``` javascript
//Get the list of available eSCL scanners
let esclDeviceList=await DWObject.GetDevicesAsync(Dynamsoft.DWT.EnumDWT_DeviceType.ESCLSCANNER)

//Select the desired scanner from the list
await DWObject.SelectDeviceAsync(esclDeviceList[0])

//Acquire image (with configuration)
await DWObject.AcquireImageAsync({Resolution:100,IfShowUI:false})
```

## Capture from cameras

### Use [DirectShow Cameras]({{site.getstarted}}hardware.html#directshow-cameras)
Expand Down