Skip to content

macOS sheet to take a picture with iSight/a USB camera using AVFoundation & crop the result.

License

Notifications You must be signed in to change notification settings

CleanCocoa/WebcamSnap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebcamSnap

Swift 5 Version License Platform Carthage compatible

Sheet to snap and crop images with your webcam or iSight camera.

Keyboard Interaction

When cropping is deactivated ...

  • ↩︎ (enter key) confirms image selection
  • ⎋ (escape key) aborts taking a picture

When the user is cropping ...

  • ↑↓→← (arrow keys) move the selection by 2pt
  • ⇧+↑↓→← (shift + arrow keys) moves the selection by 10pt
  • ↩︎ (enter key) replaces the original image with the selection (applies the crop) and ends cropping
  • ⎋ (escape) key aborts cropping

Code License

Copyright (c) 2017 Christian Tietze. Distributed under the MIT License.

SCSelectionBorder

SCSelectionBorder is copyright (c) 2011--2017 Vincent S. Wang. Distributed under the MIT License.

https://github.com/smokyonion/SCSelectionBorder

Crop Icon License

Iconic v1.9.0 License. To view Iconic's license, please go to https://useiconic.com/license/.