Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 28, 2016, 03:32:16 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: N.A.N.Y. 2014 Submission: SoloCrop  (Read 5907 times)

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 855
    • View Profile
    • Donate to Member
N.A.N.Y. 2014 Submission: SoloCrop
« on: October 26, 2013, 03:26:31 PM »
Use SoloCrop to quickly manually crop many jpeg images one by one.

solocrop1.png
1. Drag and drop a jpeg image
2. Click and draw a rectangle
3. SoloCrop crops when you release the mouse button
4. SoloCrop then autoloads the next jpeg in the same folder
The cropped image is saved with the prefix "solocrop_"

Download and details here
http://nod5.dcmembers.com/solocrop.html
Made in Autohotkey by nod5 as Free Software GPL3
Tested in Win7 x64. The zip contains binary and source.

v131026b: preview in color (was: grayscale)
v131026: first version

Features to maybe add:
- a "skip" button to skip some autoloaded images (thanks mouser)
- if multiple files are dropped, cycle through only them (and only them) one by one (thanks mouser)
« Last Edit: October 26, 2013, 04:50:06 PM by Nod5 »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,262
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: N.A.N.Y. 2014 Submission: SoloCrop
« Reply #1 on: October 26, 2013, 03:32:08 PM »
Nice idea!

Maybe add a "skip" button since it's autoloading from same folder?

Another idea: instead of autoloading next, how about supporting the dropping of multiple files at once, and so it automatically advances through the drop lost.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 10,251
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Submission: SoloCrop
« Reply #2 on: October 26, 2013, 04:20:56 PM »
Sounds very nice  :up:

Would 'rotate' be a possibility?
Tom

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 855
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Submission: SoloCrop
« Reply #3 on: October 26, 2013, 04:29:14 PM »
Thanks tomos. This is meant as a "good at one thing only" tool, so no rotating I think.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 10,251
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Submission: SoloCrop
« Reply #4 on: October 26, 2013, 04:30:37 PM »
Thanks tomos. This is meant as a "good at one thing only" tool, so no rotating I think.

Still sounding very good to me :up:
Tom

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,841
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Submission: SoloCrop
« Reply #5 on: October 26, 2013, 05:17:37 PM »
Any chance of a similar tool that tries to automatically detect "rectangles" and crop each of those results into individual results?

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 855
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Submission: SoloCrop
« Reply #6 on: October 26, 2013, 05:30:56 PM »
ewemoa: definitely not in SoloCrop.

I saw multiple rectangle detection and crop in a video about the new ScanSnap, here. But that likely only works with their hardware. But is that the kind of functionality you're thinking of?

A useful tool for making a program with something like that is OpenCV. See these examples (last example uses opencv in python and is only 30 lines of code, adding cropping would not not take much more). But to work reliably it would probably need to be tailor made for the type of input images (photos? rectangle sizes? colors?...). I'll leave that for someone else to N.A.N.Y. pledge I think :P
« Last Edit: October 26, 2013, 05:38:21 PM by Nod5 »

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,841
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Submission: SoloCrop
« Reply #7 on: October 26, 2013, 06:12:22 PM »
That is a nifty-looking device!

What I thought I saw in that video was the bit about scanning multiple name cards at the same time -- that does seem applicable.



Thanks also for the pointer to OpenCV, am intending to take a look.

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,548
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Submission: SoloCrop
« Reply #8 on: October 26, 2013, 08:22:36 PM »

This isn't that far from that cropping problem Contro and I were talking about.


kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,120
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Submission: SoloCrop
« Reply #9 on: October 29, 2013, 08:36:54 AM »
Glad to see your entry, Nod5.

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 855
    • View Profile
    • Donate to Member
Re: N.A.N.Y. 2014 Submission: SoloCrop
« Reply #10 on: April 21, 2015, 01:29:35 PM »
Updated to v150421
now only operates on images dropped on the GUI (not all in folder)
now uses prefix "crop_" (not "solocrop_")
shows previous crop rectangle in blue
hotkeys to move previous rectangle and go to next/prev file