facebook

Popup Alert

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #346535 Reply

    hardsofft
    Member

    As image is always in the format of axb pixels. so it may be rectangular or square. my point of view is i used photoshop to select only a car using lasso tool but while saving, it is saved as a rectangular car image. i used image button for popup alert in mobione but i am not getting what i need.

    what i need is when i select ” Only on Car ” it should Popup Alert ——– ‘OK’.
    what i need is when i select ” Other Than Car ” it should Popup Alert —————‘ NOT OK’.

    the information is given in attachment

    See attachment IMG_0376[1].JPG

    Attachments:
    You must be logged in to view attached files.
    #346537 Reply

    Brandon
    Member

    As mobione will affect the whole image you can use a transparent panel or smaller object over just the car spot and use the code on that object.

    #346543 Reply

    hardsofft
    Member

    cincy wat ever u said is right and i already tried with that as well. As the car is invariable(curve) shape i.e., not a straight one. how can i manage to do that…please give me some detailed information or an example wil be helpful for other forum members ….

    #346559 Reply

    support-michael
    Keymaster

    I don’t know of an immediate solution but here are some ideas that come to mind:

    This assumes that selection is of non-rectangular objects embedded in an image and the selection region is object’s bounds.

    1a) if your image(s) shapes and backgrounds are very simply then perhaps a computer vision algo to detect the objects in an image (return list of polygons). Then compare if any polygon contains the touch pt. I have not researched embeddable js or native mobile image processing libs.

    1b) depending up on your latency and online requirements do all the computation on a server. Send the app and touch context to the server and have it do the computation.

    There is a really cool online service (need to find the link) with web api for vision analysis.

    2) an optimization of #1a is to precompute the object bounds (polygons) and only perform bounds analysis.

    Can you share more about your app’s operation?

    #346572 Reply

    Brandon
    Member

    I have not tried to implement this but it does seem to be a possibility:

    http://www.outsharked.com/imagemapster/default.aspx?what.html

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Popup Alert

You must be logged in to post in the forum log in