feat(main) support document scan