Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trekhleb/links-detector
📖 👆🏻 Links Detector makes printed links clickable via your smartphone camera. No need to type a link in, just scan and click on it.
https://github.com/trekhleb/links-detector
computer-vision javascript machine-learning object-detection ocr tensorflowjs tesnorflow tesseract typescript
Last synced: 13 days ago
JSON representation
📖 👆🏻 Links Detector makes printed links clickable via your smartphone camera. No need to type a link in, just scan and click on it.
- Host: GitHub
- URL: https://github.com/trekhleb/links-detector
- Owner: trekhleb
- License: mit
- Created: 2020-09-17T07:09:00.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-21T20:28:00.000Z (about 2 years ago)
- Last Synced: 2024-10-23T01:39:09.165Z (22 days ago)
- Topics: computer-vision, javascript, machine-learning, object-detection, ocr, tensorflowjs, tesnorflow, tesseract, typescript
- Language: TypeScript
- Homepage: https://trekhleb.dev/links-detector/
- Size: 53.4 MB
- Stars: 183
- Watchers: 7
- Forks: 25
- Open Issues: 10
-
Metadata Files:
- Readme: README.DEV.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Links Detector: Engineering Notes
## Working with the repository
#### Installation
`yarn install`
#### Running locally over `http`
`yarn start`
The app will be available at [http://localhost:3000/links-detector/](http://localhost:3000/links-detector/)
#### Running locally over `https`
It might be needed to get a camera access while testing the app on mobile devices through a local network.
`yarn start-https`
The app will be available at [https://localhost:3000/links-detector/](http://localhost:3000/links-detector/). You may also access it through the mobile device at `https:///links/detector` if it is on the same network.
#### Running the production build
Service workers and [PWA](https://web.dev/progressive-web-apps/) (Progressive Web App) features might be tested against production builds only. To build production version of the app and serve it, run:
`yarn start-prod`
The app will be available at [http://localhost:4000/links-detector/](http://localhost:4000/links-detector/)
## Version locks
`react-router-dom v5.X.X` isn't compatible with `history v5.X.X`.
Therefore `package.json` locked `history` package version to `v4.X.X`. See [StackOverflow question](https://stackoverflow.com/questions/62449663/react-router-with-custom-history-not-working) for more details.