Divide Scanned images Install problem
#1
Posted 02 July 2012 - 12:33 AM
I'm running XP and have Gimp 2.8 running.
I put the scm and diskew in the correct folders and they show up on the menu.
I have an image with 4 photos and they are pretty square and well separated.
When I select the divide scanned images function...it appears to run for 5-10 seconds but
I get no images in the folder I've configured.
re: ; DivideScannedImages.scm
; by Rob Antonishen
; http://ffaat.pointclark.net
; Version 1.9 (20101007)
and: deskew 4/5/2008
I'm very new to Gimp so maybe I'm missing something obvious.
Will the pre configured settings in the program work ....I have tried fiddling with several
of them but get the same result.
Any ideas would really be appreciated.
Steve
#2
Posted 06 July 2012 - 11:12 AM
http://i.imgur.com/5JhXt.jpg
Quote
First a check -
you have deskew.exe (not the zip file) in C:\Documents and Settings\<your_account>\.gimp-2.8\plug-ins
and
DivideScannedImages.scm in C:\Documents and Settings\<your_account>\.gimp-2.8\scripts
Quote
I have an image with 4 photos and they are pretty square and well separated.
You have done the right thing keeping everything as square as possible, try and keep vertical separation as well.
Quote
I get no images in the folder I've configured.
Try unticking 'save and close extracted images' - you should get the separated images opened in gimp. If you can get a result then move back to automatic saving.
DivideScannedImages always was a bit experimental, I usually change the sample corner first (nearly always) and if that does not fix the problem, start tweaking the selection threshold.
example: the above scan was not keen on separating more than one image without increasing the selection threshold.
#3
Posted 11 July 2012 - 01:47 AM
I'm on the road for a couple days I'll try out your suggestions
when I get home.
Thanks
#4
Posted 19 July 2012 - 10:24 PM
rich2005, on 06 July 2012 - 11:12 AM, said:
DivideScannedImages always was a bit experimental, I usually change the sample corner first (nearly always) and if that does not fix the problem, start tweaking the selection threshold.
example: the above scan was not keen on separating more than one image without increasing the selection threshold.
The default settings are what worked best with my scanner. As rich2005 states, you may have to adjust the values depending on the resolution you scan at, if your scanner created a shadow around the outside of the bed when scanning, and the actual value difference between the scanner background and the image. It can help if scanning really light images to place a black background behind them on the scanner to improve the isolation, as well.
Also, the deskew plugin is not required, but it will be used if it is installed.
Good luck!
-Rob A>
#5
Posted 02 March 2013 - 07:07 PM
Trying to scan multiple items in one scan and make into multiple files
EASY QUESTION: Can someone PLEASE help me divide scanned images via GIMP? Simple Step By Step PLEASE...THANKS!!!
PLEASE READ THIS AND HELP ME IF YOU CAN
NOTE:I JUST DOWNLOADED 2 PLUG-INS..."DivideScannedImages.scm" AND "Deskew.zip" BUT CAN'T OPEN EITHER ONE OF THEM (Asks what program created it)
ONCE ONE OF YOU CAN DO THIS ONE TIME, THEN WHEN I CAN DO IT ONCE THEN I CAN FINISH THIS PROJECT.
HERE ARE THE DETAILS.....I have thousands of 3x5 inch index cards that I need to scan into my p.c., I need to be able to divide or split ONE scanned image into multiple images/files (the index cards are UNRULED/BLANK and primarily have handwritten notes on them, others vary.
For example if I lay 4 separate index cards on my scanner bed, then scan to my pc, then I have ONE document, but I need to be able to create FOUR documents/files; and then be able to drag and drop the four SEPARATE cards into folders that I create for organizing and prioritization purposes. (All of this is likely similar to someone trying to do the same thing with 4 photos).
MY COMPUTER is older, running XP Home, and am NOT a Linux etc user, I'm just a beginner with GIMP too.
WHAT I NEED........Is for someone ANYONE to accomplish what I'm trying to do ONE TIME, then tell me HOW THEY DID IT. This would be the fastest solution I guess.
I WAS TOLD...To use a plug in for GIMP called "Divide Scanned Image", BUT before I get started I was hoping for some feedback and counsel before I attempt this on my own. ARE THERE OTHER SOLUTIONS FOR ME, I NEED THIS TO GO AS FAST AS POSSIBLE, THIS SCANNING PROJECT?
PLEASE HELP ME.....
Respectfully & Appreciatively Yours,
R.V.
"Friendly Beginner"
P.S....ONCE ONE OF YOU CAN DO THIS ONE TIME, THEN...WHEN I CAN DO IT ONCE THEN I CAN FINISH THIS PROJECT. (I've been trying to do this for 2 weeks now and I am VERY VERY VERY VERY SAD & FRUSTRATED!!!!!!....PLEASE HELP ME...THANK YOU!!!
#6
Posted 02 March 2013 - 11:38 PM
Your scanner software very likely lets you define one area to scan. Place one card in a corner of the bed, pre-scan, then adjust the scanned area in the software. Then scan your cards one by one (without pre-scan):
- positioning one card in the corner is very fast, if you used the right corner the scan will be quick with little scan head movement, and the result is pre-cut, while adjusting four cards on the bed takes time, and the scanner scans the whole bed.
- you benefit from the auto-numbering/file saving of the scanner software.
- it may be faster to pre-sort the cards (so that all the cards in a scan batch end up in the same folder and you don't have to sort them on the PC (which is slower than you think with drag-and-drop)
#7
Posted 03 March 2013 - 02:13 AM
PLEASE READ...I PUT A LOT OF THOUGHT INTO MY RESPONSE TO YOUR KIND RESPONSE.
This is encouraging, and I know your about 10 times more tech savvy than I, BUT you were a LITTLE bit over my head.
Let me surmise, place one 3x5 index card in the lower right hand corner of my scanner, do a preview (you said pre-scan) and then scan. Then the next card in same position but do not preview and the scan process with be more rapid and the logical order of cards will be more intact? Is THIS what your saying?
Okay, sounds logical, makes sense, seems like it would take MORE time to do ONE at a time though, and I must admit there ARE going to times and fairly frequently where I will be scanning one card that is destined for one folder and the next card will be destined to the next folder, part of the reason is that my folders will have a good deal of sub-folder and my cards are a mess.
And not to DEPRESS you but I have 250,000 cards to scan, about 100 feet of 3x5 index cards. And I know if I go spend a thousand dollars I can get some auto feed scanner....BUT many of my cards are dog eared, dirty, stained and DUSTY and COULD reak havoc on the scanner feeder all that DUST and CRAP.
What did you mean by this? "then adjust the scanned area in the software"...I know I'm stupid but please explain, and thank you for your patience, does this mean crop the current card in the scanner?
And what did you mean by "and the result is pre-cut"? Do you mean that based on my previous brightness and contrast settings are good to go for the next card/s?
You said putting 4 cards on the scanner bed takes time, not really, just slap them down and go right? Besides doesn't "Deskew" straighten them anyway?
I think in the last sentence you mention something about folders, will the scanner pre-determine a folder, because in my mind I want to create all my own folders, sub-folders and sub-sub-folders, you see this is a VERY BIG INTENSIVE PROJECT.
And in your last sentence you say "slower than you think with drag-and-drop", well I'll probably find out soon, but YOUR SOUND LIKE YOU KNOW WHAT YOUR DOING.........IF I WERE A RICH MAN...I'D FLY YOU OUT HERE TO CALIFORNIA TONIGHT AND LET YOU LOOK OVER MY SHOULDER.....I don't see how you guys comprehend all this....YOU ARE AMAZING.
THANK YOU SIR,
Randy
Friendly Beginner
P.S...Remember I have 250,000 3x5 index cards, so be thinking of additional options, THOUGH YOUR SUGGESTION GIVES ME HOPE AND MAYBE EVEN A LITTLE BETTER SLEEP.....THANK YOU!!!!!!
ofnuts, on 02 March 2013 - 11:38 PM, said:
Your scanner software very likely lets you define one area to scan. Place one card in a corner of the bed, pre-scan, then adjust the scanned area in the software. Then scan your cards one by one (without pre-scan):
- positioning one card in the corner is very fast, if you used the right corner the scan will be quick with little scan head movement, and the result is pre-cut, while adjusting four cards on the bed takes time, and the scanner scans the whole bed.
- you benefit from the auto-numbering/file saving of the scanner software.
- it may be faster to pre-sort the cards (so that all the cards in a scan batch end up in the same folder and you don't have to sort them on the PC (which is slower than you think with drag-and-drop)
#8
Posted 03 March 2013 - 02:30 AM
Why is this one 14 dollars?
http://www.amazon.co...62277870&sr=1-5
It takes me 30 seconds to a minute to crop a business card, if you got 250k cards to scan, that's 250k edits at 30 seconds, that's 2-3 months. I think 2-3 months is worth investing in a scanner.
This post has been edited by Solartide: 03 March 2013 - 02:34 AM
#9
Posted 03 March 2013 - 10:33 AM
I have recently been scanning my 1980's photo prints, came to the conclusion that it was as quick to manually chop up a scan.
but
For the OP, and some index cards, DivideScannedImages is still working here, XP & Gimp 2.8.4 with some pointers on use.
http://youtu.be/PHh8hnwmjNo 4 mins.
#10
Posted 03 March 2013 - 01:37 PM
Friendly Beginner, on 03 March 2013 - 02:13 AM, said:
Friendly Beginner, on 03 March 2013 - 02:13 AM, said:
Friendly Beginner, on 03 March 2013 - 02:13 AM, said:
Friendly Beginner, on 03 March 2013 - 02:13 AM, said:
Friendly Beginner, on 03 March 2013 - 02:13 AM, said:
Friendly Beginner, on 03 March 2013 - 02:13 AM, said:
Friendly Beginner, on 03 March 2013 - 02:13 AM, said:
Friendly Beginner, on 03 March 2013 - 02:13 AM, said:
#11
Posted 03 March 2013 - 01:40 PM
Solartide, on 03 March 2013 - 02:30 AM, said:
Why is this one 14 dollars?
http://www.amazon.co...62277870&sr=1-5
It takes me 30 seconds to a minute to crop a business card, if you got 250k cards to scan, that's 250k edits at 30 seconds, that's 2-3 months. I think 2-3 months is worth investing in a scanner.
#12
Posted 03 March 2013 - 04:54 PM
Whatever size still a lot of work.
#13
Posted 04 March 2013 - 12:26 AM
THANK ALL OF YOU FOR YOUR RESPONSE TO THIS SUBJECT...I AM STILL READING AND WILL RESPOND TO ALL.
Hello Ofnuts...A foot activated wired shutter release, I assume you mean one of those cable things I used to screw into my 35 mm camera to be able to take a shake free photo off my tripod IS THIS WHAT YOU MEAN?
By the way, if I do 4 cards at a time as one document, even if it's part of the same "Batch" that could be slightly problematic sometimes; because I will be deleting and/or moving one card to this or that other folder.
The photographing thing is intriging, I downloaded about 15 scanner apps on my phone, and ONE so far seems to do the job without creating a HUGE FILE..The phone app is called FAST SCANNER, and unlike the other apps, it will do jpg and NOT be 100-500kb BUT ONLY about 50kb per index card....IRONICALLY THIS IS THE SAME AS MY HOME ALL IN ONE SCANNER.....That's about 5MB per 100 cards.......250,000 cards YOU DO THE MATH....
THANKS SO MUCH FOR YOUR RESPONSE AND PLEASE CHIME IN WITH MORE IF YOU HAVE MORE ADVICE....
Thanks,
Friendly Beginner
P.S....THANK ALL OF YOU FOR ALL YOUR RESPONSE....I AM STILL READING AND RESPONDING TO ALL OF THEM.
ofnuts, on 03 March 2013 - 01:37 PM, said:
Friendly Beginner, on 03 March 2013 - 02:13 AM, said:
Friendly Beginner, on 03 March 2013 - 02:13 AM, said:
Friendly Beginner, on 03 March 2013 - 02:13 AM, said:
Friendly Beginner, on 03 March 2013 - 02:13 AM, said:
Friendly Beginner, on 03 March 2013 - 02:13 AM, said:
Friendly Beginner, on 03 March 2013 - 02:13 AM, said:
Friendly Beginner, on 03 March 2013 - 02:13 AM, said:
Friendly Beginner, on 03 March 2013 - 02:13 AM, said:
#15
Posted 04 March 2013 - 12:44 AM
Friendly Beginner, on 04 March 2013 - 12:26 AM, said:
Friendly Beginner, on 04 March 2013 - 12:26 AM, said:
Well, too bad
Friendly Beginner, on 04 March 2013 - 12:26 AM, said:
#16
Posted 04 March 2013 - 12:49 AM
THANKS for making that video, I'll have to watch it a few more times, but you did a GREAT JOB, I wish I had someone NEAR me to help, because as you went along, I had a lot of inquiries.
BUT I think if I go back and watch enough I'll figure it out.
BY THE WAY.....I installed divide scanned images and deskew plugins.....BUT I downloaded them to my desktop and I could NOT open them, so I deleted them.
HOW ON EARTH DO I INSTALL the plugins.....I have to select WHERE to do the install of each.
And Rich......Do YOU think it is FASTER to do it like your video or just do one at a time as some argue.
Benefits of each?
Thanks So Much Rich,
Friendly Beginner
P.S...What is OP?
P.P.S....By the way why does your link say youtu.be and not youtube? GOOD QUALITY VIDEO THOUGH....HOW DID YOU KEEP YOUR CAMERA SO STILL? Your voice was so CALM in the video, I can tell you are one smart mother humper. I ENVY you and your ilk. Why can't my next door neighbors be like you guys.......Son of a B....
P.P.P.S...I've read that doing this with GIMP is better than photoshop, do you agree and if so...WHY?
rich2005, on 03 March 2013 - 10:33 AM, said:
I have recently been scanning my 1980's photo prints, came to the conclusion that it was as quick to manually chop up a scan.
but
For the OP, and some index cards, DivideScannedImages is still working here, XP & Gimp 2.8.4 with some pointers on use.
http://youtu.be/PHh8hnwmjNo 4 mins.
#17
Posted 04 March 2013 - 12:57 AM
The other scanner apps on my phone about 15 of them, and almost all of them, only do PDF and the file is HUGE, so I gravitated to the app FAST SCANNER which does JPG's.
How do I scale down the images in batch? I don't even know what that MEANS.
Sorry...I said I was friendly and a beginner, I never said I was SMART (at least at this, it's been TWO F'ing weeks to TRY to do ONE simple task ONE TIME....
DID YOU SEE RICH'S VIDEO HE MADE FOR ME?.......Great job, but I need to watch it in a loop to figure it out, I still don't know how to do the plug ins install.......I installed to desktop and they would not open, and I read and read online and just deleted the files....
LIFE SUCKS SOMETIMES>
Thanks Ofnuts,
Friendly Beginner
P.S....How the HELL did Rich hold the camera SO steady in that video he made?
ofnuts, on 04 March 2013 - 12:44 AM, said:
Friendly Beginner, on 04 March 2013 - 12:26 AM, said:
Friendly Beginner, on 04 March 2013 - 12:26 AM, said:
Well, too bad
Friendly Beginner, on 04 March 2013 - 12:26 AM, said:
#19
Posted 04 March 2013 - 09:40 AM
Quote
several pints of Deuchars best bitter and
ffmpeg -f x11grab -xerror -r 15 -s 1280x720 -i :0.0+80,60 -vcodec mpeg4 -b 1000 -qscale 5 -f alsa -i hw:0,0 -ar 44100 -bt 256k -y `date +%s`.avi
@Friendly Beginner
It is not difficult, scripts end in .scm and using WinXP go in this folder (Vista/Win7 are a little different)
C:\Documents and Settings\"yourname"\.gimp-2.8\scripts (if still using Gimp 2.6.x that is ..gimp-2.6)
So the dividescannedimages.scm goes there.
plugins, ie. files ending .exe, .dll, .py go in this folder.
C:\Documents and Settings\"yourname"\.gimp-2.8\plug-ins
So the deskew.exe goes there.
Like solartide said earlier, check that you are not putting the downloaded zip file in the folder. Click on the zip, windows opens it, then you can drag the deskew.exe file to the plug-ins folder.
Faster, one at a time or several? If it was photgraphs I would say one at a time but it depends on your work flow, try both ways and see which suits best. For an A4/letter size flatbed you can only scan four 3"x5" cards anyway. If you can get away with just using the guillotine method, then that is basic gimp and you do not need any extra plugins
OP = original poster.
#20
Posted 04 March 2013 - 08:29 PM
ATTENTION GIMP EXPERTS AND SCANNER USERS
PLEASE READ THIS.
THANK YOU
Rich I've watched your youtube video on how to divide scanned images and/or just using guillotine (here's the link http://youtu.be/PHh8hnwmjNo). I'm moving forward BUT......Have some comments & questions.
RICH in your video at the 2' 37" mark is where you show your alternative to divide scanned images method, BUT your cards original index cards on the scanner bed are misaligned as they always will be, BUT at the 2' 37" mark there is no space between the cards HOW DO I DO THAT?
Here is an image of four of my 3x5" index cards, to give you an idea what I'm working with. COULDN'T ATTACH MY FILE WAS LARGER THAN 500kb
When you did your alternative to divide scanned images THE GUILLOTINE...After you finished there was a filmstrip of the four files above the images all I get is 4 big windows that open up on top of everything AND I do NOT get the tool menue I see in your video off to the left where you grabbed crop options or something.
LET ME MOVE ON AND RELAX A LITTLE AND RESPOND TO THE OTHER POSTS AND YOURS.
Is there ANYONE that is local to the USA that I can call for a little help?
I will be experimenting with ONE card at a time option and the guillotine option and I guess the plug in divide scanned images option.....Ugh.
The other guy suggested tripod and photograph each card with a foot shutter for speed (was he talking about 35mm or digital camera?, BUT how big will the files be, my scanner only requires 50kb per 3x5" index card, but someone said I can size them down later, but is that ANOTHER learning curve, I have 250,000 cards to scan AND I REALLY NEED TO GET STARTED and SOON....I HOPE that all the clutter on my desk will begin to disappear and I will look forward to wake up each day and start scanning and organizing again.
WHICH METHOD....Will give me the BEST resolution and qualitity with the SMALLEST sized files possible.....KEEP IN MIND.......A LOT of my cards have VERY small scribbling and print on them, all hand written....SO....I want to make sure I can READ the cards once I commit them to my pc forever.
Another guy posted I don't need to spend $1,000 for a scanner, he saw one on Amazon for $14, but I guess what I meant is to buy a super duper rapid auto feed top shelf scanner that can ALSO do divided images off the shelf were $1,000......
I CALLED THE LIBRARY OF CONGRESS & OTHER CORPORATIONS AND SUCH.....And the machines they use are $10,000-$30,000.....FORGET ABOUT IT!!!!!!
WHAT IS ALL THIS SORCERY???.......Someone said responding to my observation of how could RICH hold his video camera so still focused on his computer screen while doing the "divide scanned images" demo on youtube....I WAS LAUGHING SO HARD....BEST LAUGH IN MONTHS.......THEN RICH RESPONDED WITH SOMETHING LIKE.......EYE OF KNUTE ALONG WITH COME COMPUTER CODE.........I'm still laughing just thinking about it...THANKS FOR THE AMAZING LAUGH!!!
JUST SO YOU KNOW.......I use windows xp home, I do NOT use linux, my friend is pushing me everyday to demo it, and I will, he used Linux through Ubuntu??? I think....I'll get to it.
SO what is best for me and my project, knowing I have 250,000 3x5" index cards to scan, all handwritten, with varying degrees of "font" size, a lot of them are just scribbling and sometimes VERY TINY...
SO KNOWING THAT....Is it best to use the one guys option of a tripod with a foot shutter release OR can the scanner capture what I need to be able to properly read ALL THE CARDS I PERMANENTLY COMMIT TO MY P.C.????
KEEP IN MIND........My MAIN concern is file size.....BUT I still need to be able to read and sometimes study to decipher what the hell I wrote on a 30 year old, dog-eared, stained, yellowed index card....Not all cards are like this but some are in REALLY bad shape and I need to be able to read them ONCE I COMMIT THEM TO MY PC.
BELOW I WILL TRY TO ATTACH 3 FILES OF MY INDEX CARD SCANS TO GIVE YOU AN ILLUSTRATION OF WHAT MY INDEX CARDS LOOK LIKE (But MOST cards have a LOT more scribbling on them than the examples in the files I will now try to attach to this posting.
NEVER MIND MY FILES IT APPEARS ARE MORE THAN 500K SO I CAN'T ATTACH......I was going to show you one example how I slap down index cards on the scanner bed and they are NOT next to each other and crooked in preperation for a divide scanned images/deskew plug in experiment and ANOTHER example of me laying them in a corner RIGHT NEXT to each other in preparation for a guillotine experiment.
Thank You All VERY MUCH!!!!
Randy
-Friendly Beginner-
P.S...Is there ANYONE out there like RICH who I can CALL to bring me in for a landing on this now non-stop 14 day gauntlet from HELL??????...
"What Is All This Sorcery?"
STILL SMILING!!!!
P.S...RICH....Once I recover from writing THIS posting I will go back and go to work on what you advised me on below, relative to plug in installations etc. to prep myself for divide scanned images/deskew OPTION!!!!.....THANK YOU!!!!!!!!!!!
This is not a learning curve it's a suicide trap...Like climbing the face of a cliff, and your life depends on it.......BUT ONCE I DO IT ONE TIME SUCCESSFULLY......Then I will fill my days with watching cards & paper disappear from my life and I will then have desk space and room to live my life in comfort and peace.
THANK YOU ALL FOR YOUR HELP!!!!!
rich2005, on 04 March 2013 - 09:40 AM, said:
Quote
several pints of Deuchars best bitter and
ffmpeg -f x11grab -xerror -r 15 -s 1280x720 -i :0.0+80,60 -vcodec mpeg4 -b 1000 -qscale 5 -f alsa -i hw:0,0 -ar 44100 -bt 256k -y `date +%s`.avi
@Friendly Beginner
It is not difficult, scripts end in .scm and using WinXP go in this folder (Vista/Win7 are a little different)
C:\Documents and Settings\"yourname"\.gimp-2.8\scripts (if still using Gimp 2.6.x that is ..gimp-2.6)
So the dividescannedimages.scm goes there.
plugins, ie. files ending .exe, .dll, .py go in this folder.
C:\Documents and Settings\"yourname"\.gimp-2.8\plug-ins
So the deskew.exe goes there.
Like solartide said earlier, check that you are not putting the downloaded zip file in the folder. Click on the zip, windows opens it, then you can drag the deskew.exe file to the plug-ins folder.
Faster, one at a time or several? If it was photgraphs I would say one at a time but it depends on your work flow, try both ways and see which suits best. For an A4/letter size flatbed you can only scan four 3"x5" cards anyway. If you can get away with just using the guillotine method, then that is basic gimp and you do not need any extra plugins
OP = original poster.

Help













