A project demonstrating how to add cropper js to a phoenix liveview application. I've intergrated open-cv using python through erlport. Only uploads that contain faces are allowed.
To Get started:
- Install dependencies with
mix deps.get
- Create
dev.local.exs
and add the path of your python interpretor usedev.local.example
file to guide you. - Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
Now you can visit localhost:4000
from your browser.
- ASDF Guides: https://asdf-vm.com/guide/getting-started.html
- Phoenix Official website: https://www.phoenixframework.org/
- OpenCV Python: https://pypi.org/project/opencv-python/
- ErlPort Docs: https://www.google.com/search?client=safari&rls=en&q=erlport&ie=UTF-8&oe=UTF-8
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Forum: https://elixirforum.com/c/phoenix-forum
- Source: https://github.com/phoenixframework/phoenix