Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    mbarcode

    Reply
    Page 54 of 83 | Prev | 44   52     53   54   55     56   64 | Next | Last
    lardman | # 531 | 2010-09-29, 15:44 | Report

    Ok, I've just pushed two updates, both of which could probably do with some more C++ polishing.

    The first is to move the plugin searching and loading to a thread, so that there is no time spent loading them when the first results page is displayed. The thread runs in the bg once the UI has been brought up and the UI will block for the thread if somehow a barcode is scanned straight away.

    The second is to give an option to use the shutter button either as focus/save image with continuous scanning, or as focus/scan with scanning occurring for 3s after the button is pressed.

    This means the normal display is smoother most of the time (as no scanning is taking place) and should reduce CPU usage while things aren't being scanned. I've not added a way to change the scan time, but we should really do that, and I've added a rather nasty looking Hildon message bar to tell us that it's scanning, which should probably be changed to something that looks cool, like a Cylon-styke blip moving along the "line up here" bar in the middle of the screen.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to lardman For This Useful Post:
    Rob1n, Wikiwide

     
    lardman | # 532 | 2010-09-29, 17:28 | Report

    I'll take a look at making the overlay/normal display interface generic tomorrow so we can test using openGL vs. fb overlays.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to lardman For This Useful Post:
    Rob1n, Wikiwide

     
    lardman | # 533 | 2010-09-30, 17:45 | Report

    I've got the non-openGL interface more or less up and running, but without overlays.

    Apparently overlays are not actually required and it should be possible to draw directly ontop of the xvimagesink, but this only works sometimes, and the rest of the time the xvimagesink video stream takes over the whole window. Not sure what the problem is here, but I'll get to the bottom of it eventually.

    While doing this, I've been thinking that really rather than a splash screen it would probably be better to open the application with the history list showing and then load the GStreamer pipeline in the background.

    I'll have a look at how to do this later on this evening. I also need to push PythonQT to extras-devel. /me writes some notes to self

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to lardman For This Useful Post:
    Rob1n, Wikiwide

     
    protrek | # 534 | 2010-09-30, 22:47 | Report

    Originally Posted by lardman View Post
    Probably not an mBarcode problem tbh as it works for everyone else. Rebooting tends to fix a non-behaving camera.

    If it really does seem to be linked to mBarcode, I'd be interested to see the output of the camera app from the command line when you try to run it, and also the dmesg and DSP logs.
    I did try a restart of the phone but the camera did not work. After removing all programs that had Mbarcode it start working again.
    I think it was 5 or 6 apps/addons with Mbarcode in the name or somthing i had to remove. The last one was Mbarcode main program, and after that my camera worked again.
    I can try install it again after he weekend and see if i just was unlucky with the install.

    Other Camera apps i have is BlessN900

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lardman | # 535 | 2010-09-30, 23:49 | Report

    Originally Posted by protrek View Post
    I did try a restart of the phone but the camera did not work. After removing all programs that had Mbarcode it start working again.
    I think it was 5 or 6 apps/addons with Mbarcode in the name or somthing i had to remove. The last one was Mbarcode main program, and after that my camera worked again.
    I can try install it again after he weekend and see if i just was unlucky with the install.

    Other Camera apps i have is BlessN900
    Please do try again, there's no reason why mBarcode or any of its plugins should interfere with normal camera operation (other than to kill the camera app when mBarcode is running to stop it taking the focus)

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to lardman For This Useful Post:
    Wikiwide

     
    coderedcomputing | # 536 | 2010-10-01, 01:05 | Report

    firstly i am totally stoked to see this app come to fruition... secondly, installed mBarcode from the repository, grabbed a book and with minimal user errors got the barcode translated into the app. nicely done. as well, camera is functioning as normal for pics & video.

    so the plan is for this to check amazon et al for pricing? hot damn.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fms | # 537 | 2010-10-01, 05:17 | Report

    "Search Internet" does not appear to work at all in the latest version. Weird.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lardman | # 538 | 2010-10-01, 09:44 | Report

    Originally Posted by coderedcomputing View Post
    firstly i am totally stoked to see this app come to fruition... secondly, installed mBarcode from the repository, grabbed a book and with minimal user errors got the barcode translated into the app. nicely done. as well, camera is functioning as normal for pics & video.

    so the plan is for this to check amazon et al for pricing? hot damn.
    Yeah I'm writing some Python code in the background (read slowly) to do that. My Python code is going to be a database though, and will run outside mBarcode (as you might want to look at the database without needing to run mBarcode) using the ExternalDBusPlugin to receive data.

    If anyone has any suggestions or code snippets they would be gladly received (in C++ or Python) and we'll see if we can get something up and running asap as we should also provide a quick summary of Amazon items on the 1D results page.

    Once I get the Python plugin stuff working it should make it easier for people to write quick plugins.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to lardman For This Useful Post:
    Wikiwide

     
    lardman | # 539 | 2010-10-01, 09:44 | Report

    Originally Posted by fms View Post
    "Search Internet" does not appear to work at all in the latest version. Weird.
    I'll have a look at it, thanks.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to lardman For This Useful Post:
    Wikiwide

     
    Wikiwide | # 540 | 2010-10-08, 07:00 | Report

    Originally Posted by lardman View Post
    Ok, I've just pushed two updates, both of which could probably do with some more C++ polishing.

    The first is to move the plugin searching and loading to a thread, so that there is no time spent loading them when the first results page is displayed. The thread runs in the bg once the UI has been brought up and the UI will block for the thread if somehow a barcode is scanned straight away.

    The second is to give an option to use the shutter button either as focus/save image with continuous scanning, or as focus/scan with scanning occurring for 3s after the button is pressed.

    This means the normal display is smoother most of the time (as no scanning is taking place) and should reduce CPU usage while things aren't being scanned. I've not added a way to change the scan time, but we should really do that, and I've added a rather nasty looking Hildon message bar to tell us that it's scanning, which should probably be changed to something that looks cool, like a Cylon-styke blip moving along the "line up here" bar in the middle of the screen.
    Impatient to see the next version of mbarcode.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 54 of 83 | Prev | 44   52     53   54   55     56   64 | Next | Last
vBulletin® Version 3.8.8
Normal Logout