Skip to content

A Phoenix Application showcasing how to add cropperjs in Liveview using Hooks. It also has OpenCv to allow only uploads containing one face

Notifications You must be signed in to change notification settings

i1d9/cropper_js_phx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhxCropperJs

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 use dev.local.example file to guide you.
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Learn more

About

A Phoenix Application showcasing how to add cropperjs in Liveview using Hooks. It also has OpenCv to allow only uploads containing one face

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published