The Following User Says Thank You to fga For This Useful Post: | ||
|
2011-01-02
, 17:53
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#702
|
Very nice. I've scanned a couple dozen books and entered them into my database.
A couple comments on this latest update of mbarcode:
This doesn't appear (usually?) when scanning a couple barcodes, but mbarcode sometimes hangs when going back from the Results window. Interacting with the interface wakes it up after a few seconds, or maybe it wakes up on its own anyway? This is annoying but can be worked around, and anyway it beats reading ISBNs one by one, by miles.
Sometimes after a successful scan and return from Results, the scanner will re-read the latest frame it had (apparently), and since it's in focus and has a valid barcode (since it was scanned last time...), it's immediately scanned. This produces duplicate barcodes (and slows down the workflow), but nothing that can't be worked around with "cat barcodes.txt | sort | uniq". The problem is of course that if there are actual duplicates, for instance two identical books, they will be lost after deduplication.
The Following User Says Thank You to lardman For This Useful Post: | ||
|
2011-01-02
, 18:26
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#703
|
Cool
Yes, I thought I'd got rid of that problem. It's caused because it's the results window which does the processing and calls the plugin, but if we have the "run first plugin" checkbox enabled, we don't really need/want to show the results window.
ATM the camera pipeline is suspended when results window is going to be displayed, but if it's hidden too quickly the main video widget gets confused and thinks it's still hidden (presumably because the event hasn't had time to be delivered, but I don't really know.) To work around this I've delayed the results window from being hidden by iird 1000ms, but perhaps I should increase this a bit to ensure that hide & expose events get propagated.
This is probably easier to fix - assuming you're doing the "press shutter button to scan" method, I should just be able to explicitly stop the scanning as soon as the results window is shown (previously this wasn't a problem as showing the results window would pause the video pipeline, it looks like this doesn't actually happen sometimes if the plugin is automatically called.)
The Following User Says Thank You to lardman For This Useful Post: | ||
|
2011-01-03
, 00:00
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#704
|
The Following User Says Thank You to lardman For This Useful Post: | ||
|
2011-01-03
, 21:07
|
Posts: 1 |
Thanked: 0 times |
Joined on Jan 2011
|
#705
|
|
2011-01-03
, 22:35
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#706
|
The Following User Says Thank You to lardman For This Useful Post: | ||
|
2011-01-04
, 05:31
|
Posts: 23 |
Thanked: 1 time |
Joined on Oct 2010
|
#707
|
|
2011-01-04
, 08:49
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#708
|
The Following User Says Thank You to lardman For This Useful Post: | ||
|
2011-01-05
, 21:07
|
Posts: 5 |
Thanked: 6 times |
Joined on Oct 2010
|
#709
|
version 0.3.0-3 should be in Extras-devel soon (once it's finished building on the autobuilder). Let me know if you have any more troubles
The Following User Says Thank You to fga For This Useful Post: | ||
|
2011-01-06
, 09:16
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#710
|
I will... but right now I've had to put a lot of my stuff in hiatus as I've just started my new job, and I'm busy with a lot of things, none of which include testing interesting stuff on my personal phone, sadly
I'll get back to you once things calm down and I can resume cataloguing my library. Do you use your bugtracker or is this thread the preferred means of communication?
The Following User Says Thank You to lardman For This Useful Post: | ||
Now my problems are no longer related to the lack of a barcode reader. I still need to peel off barcode stickers when the bookshop used their own system instead of the ISBN, and try and make my Perl script grok Amazon locales, since a lot of my books are French, but not all.
A couple comments on this latest update of mbarcode:
This doesn't appear (usually?) when scanning a couple barcodes, but mbarcode sometimes hangs when going back from the Results window. Interacting with the interface wakes it up after a few seconds, or maybe it wakes up on its own anyway? This is annoying but can be worked around, and anyway it beats reading ISBNs one by one, by miles.
Sometimes after a successful scan and return from Results, the scanner will re-read the latest frame it had (apparently), and since it's in focus and has a valid barcode (since it was scanned last time...), it's immediately scanned. This produces duplicate barcodes (and slows down the workflow), but nothing that can't be worked around with "cat barcodes.txt | sort | uniq". The problem is of course that if there are actual duplicates, for instance two identical books, they will be lost after deduplication.
The following is output on the console: