|
|
2009-12-16
, 02:03
|
|
|
Posts: 245 |
Thanked: 32 times |
Joined on Oct 2009
@ CT USA
|
#91
|
|
|
2009-12-16
, 08:33
|
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#92
|
1) Firstly, how the port to Qt going?
2) I am curious how much mbarcode relies on zbar? It looks from a quick scan of the source that zbar is only used for the N900 - if true, why is that so? If zbar does all the barcode scanning and video streaming, then mbarcode's responsibility is displaying the UI, packaging it up into an app, and providing dbus messages, right?
3) I have looked at zbar and can see that it has its own Qt widget - are you using that?
4) Do you have any plans to put mbarcode on gitorious and start accepting contributions? I would like to help out if I can.
5) Finally, I can't find any info regarding the licensing for mbarcode - will it be GPL or LGPL or something else entirely?
|
|
2009-12-16
, 08:40
|
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#93
|
Lardman, I have an idea: we can install plugins through 2D barcodes. It's not so hard to code and it's quite useful
|
|
2009-12-16
, 08:47
|
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#94
|
It's in Garage SVN, so you're more than welcome to make contributions there.
|
|
2009-12-16
, 09:19
|
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#95
|
|
|
2009-12-16
, 15:50
|
|
Posts: 7 |
Thanked: 0 times |
Joined on Nov 2009
|
#96
|
Nokia-N900-42-9:/home/user# zbarcam
ERROR: zbar processor in v4l2_nq():
system error: queuing video buffer (VIDIOC_QBUF): Input/output error (5)
Nokia-N900-42-9:/home/user# zbarcam -vvv
_zbar_video_open: opened camera device /dev/video0 (fd=5)
_zbar_v4l2_probe: omap3/et8ek8/ad5820/adp1653 on <unknown> driver omap3 (version 0.0.0)
_zbar_v4l2_probe: capabilities: CAPTURE STREAMING
v4l2_reset_crop: crop bounds: 1296 x 984 @ (0, 0)
v4l2_reset_crop: current crop win: 1296 x 984 @ (0, 0) aspect 1 / 1
v4l2_probe_formats: enumerating supported formats:
v4l2_probe_formats: [0] UYVY : UYVY, packed
v4l2_probe_formats: [1] YUYV : YUYV (YUV 4:2:2), packed
v4l2_probe_formats: [2] BA10 : Bayer10 (GrR/BGb)
v4l2_probe_formats: current format: YUYV(56595559) 1296 x 984 (line=0xa20 size=0x26f000)
_zbar_v4l2_probe: using I/O mode: USERPTR
_zbar_window_attach: falling back to XImage
_zbar_window_probe_ximage: [0] depth=1 bpp=1: not supported
_zbar_window_probe_ximage: [1] depth=4 bpp=8: not supported
_zbar_window_probe_ximage: [2] depth=8 bpp=8: no visuals
_zbar_window_probe_ximage: [3] depth=15 bpp=16: not supported
_zbar_window_probe_ximage: [4] depth=16 bpp=16: RGBP(50424752)
_zbar_window_probe_ximage: [5] depth=24 bpp=32: no visuals
_zbar_window_probe_ximage: [6] depth=32 bpp=32: BGR4(34524742)
proc_input_thread: spawned input thread
zbar_negotiate_format: YUYV(56595559) -> RGBP(50424752) (144)
zbar_negotiate_format: UYVY(59565955) -> RGBP(50424752) (144)
zbar_negotiate_format: setting best format YUYV(56595559) (144)
v4l2_set_format: set new format: YUYV(56595559) 1296 x 984 (0x26f000)
video_init_images: pre-allocated 4 USERPTR buffers size=0x9bc000
video_init_images: [00] @00000000
video_init_images: [01] @0026f000
video_init_images: [02] @004de000
video_init_images: [03] @0074d000
ERROR: zbar video in v4l2_nq():
system error: queuing video buffer (VIDIOC_QBUF): Input/output error (5)
x_handle_event: resized to 633 x 480
x_handle_event: resized to 800 x 424
ERROR: zbar processor in v4l2_nq():
system error: queuing video buffer (VIDIOC_QBUF): Input/output error (5)
Nokia-N900-42-9:/home/user#
|
|
2009-12-16
, 17:44
|
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#97
|
|
|
2009-12-17
, 02:10
|
|
Posts: 13 |
Thanked: 6 times |
Joined on Nov 2009
|
#98
|
If you will add a Python-plugins, which is in fact just a big string, they can be compressed with zip or something similar, packed in 2D barcode (or you can pack an URL to a plugin), recognized by mbarcode, unpacked and installed directly inro mbarcode, without app manager.
|
|
2009-12-17
, 05:36
|
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#99
|
|
|
2009-12-17
, 05:47
|
|
Posts: 402 |
Thanked: 229 times |
Joined on Nov 2009
@ Missouri, USA
|
#100
|
Wow, pandaboom, what a great way to deliver a trojan directly to the phone, just by pointing the camera at a malicious barcode!
![]() |
| Tags |
| barcode, camera, mbarcode |
| Thread Tools | |
|