The implmentation of the "backward energy" seam carving algorithm (!carve) is built on the work of Shai Avidan and Ariel Shamir which was based on an inital 2007 paper introducing seamcarving as well as their incredibly informative video on the subject Picture assets found in the resources/assets use graphics assets folder (smoh_chop.gif, smoh_apology.jpg, smoh_help.jpg) are my own, do not reuse without express permission!.Smohbot requires permission to download, read, and write image files.This size can be changed or removed in the ModularCarver class's constant field MAX_SIZE. Images are automatically compressed to fit within a 1000x1000 square to reduce seam carving time for larger images.!fcarve x y: experimental forwards energy seam carving command.!carve x y: default seam carving command for dimensions x and y.!info: help command, details command usage.Launch Smohbot using java -jar and enter the token to associate it with the Discord application created in step 1Ĭall Smohbot on any channel on the server!.Run gradle shadow or gradlew shadow to generate the fat jar in build/libs/smohbot-shadowjar.jar.cd into the newly created directory and use gradle install to collect dependencies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |