Drawing on the viewfinder

Hi guys,.

Very general question: is it possible to draw something or place an image on the camera viewfinder preview without going through the part of the image in the viewfinder coverage? For example, I want to put a dot.png on the screen, but have it takes not a ton of room other then the area with the point, like this (the camera extends in the gray area that contains the point):

http://imgur.com/jgxCw0I

Is it still possible with BB10?

Thanks for the comments!

the camera in the container and DockLayout {}

Page {
    Container {
        layout: DockLayout {
        }
        Container {
            Camera {}
            }
        Container {
            //image
            }
       } // content Container
}// Page

Tags: BlackBerry Developers

Similar Questions

  • What are the appropriate steps to rotate the viewfinder of the camera?

    Another screen problem is driving me crazy.

    I'm quite confused as to what are appropriate measures to turn the viewfinder window when the user rotates the device.

    I seem to be able to get things market during the passage of a landscape to a landscape upside.  But to me something else gives basically the things that I can't begin to describe.  For example, when I go from landscape to portrait, I always get the bottom half of the screen to be the dark tone and the view backwards.

    Say vf_win is the window of the viewfinder and the size is the size of the vf_win and the angle is the angle of rotation new peripheral.

    So I first turn to the viewfinder window by

    screen_set_window_property_iv(vf_win, SCREEN_PROPERTY_SOURCE_SIZE, size);
    screen_set_window_property_iv(vf_win, SCREEN_PROPERTY_BUFFER_SIZE, size);
    rc = screen_set_window_property_iv(vf_win, SCREEN_PROPERTY_ROTATION, &angle);
    

    then rotate the camera by means of

    rc = camera_set_device_orientation(handle, angle);
    rc = camera_set_videovf_property( handle, CAMERA_IMGPROP_ROTATION, &angle);
    

    ?

    I think the above is certainly false since I couldn't get the results I wanted.

    Any help is greatly appreciated.

    The sample application does not work quite right when launched in portrait on the playbook, because the default configuration of the camera is for landscape.  Down in the device drivers, we don't really know anything about how the device is held and what is intention of the user/application, so we rely on the app by telling us a lot of information to make things.  Don't forget, this is the API of the lowest level available for access to the camera.  There is an API of Cascades photo being developed which encapsulates C API to the top and tries to simlify things at the expense of flexibility.

    On PB, the video viewfinder frames 1920 x 1080 by default, but several other formats are supported (this whole landscape well!).  Use camera_get_video_vf_resolutions() to retrieve the complete list.  If you need to make in a picture window, you must specify either a rotation of output using camera_set_videovf_property (handle, CAMERA_IMGPROP_ROTATION, 90 or 270) or by adjusting your rotation of window screen using screen_set_window_property_iv (win, SCREEN_PROPERTY_ROTATION, 90 or 270) and optionally resize the window by using SCREEN_PROPERTY_SIZE.

    The first option above actually produces a video image 1080 x 1920 returned in a window of the non-tourne screen.  The second option is still dealing with buffers of window of 1920 x 1080, but when the window is composite, it is blitted to the side.  We have 2 ways of doing this is because we have a requirement to be able to save videos in formats portrait without having to rely on the advice of metadata to display the videos properly as Apple or Android have to do (this is the reason for the 1st method).  For the second method (form) this is because not all applications require the video must rotate, nor necessarily all hardware platforms support video output in this mode.

    To answer your last question - definition of resolution 1024 x 576 vf and a rotation of 90 on playbook will give the following result:

    -buffers that have a width of 576 and a height of 1024 pixels of video output.

    -You can then display the viewfinder in a window size 576 x 1024 (or however you choose to scale)

    -buffers sent by the sensor of the camera would be rotated 90 degrees to the right before being delivered through these pads size 576 x 1024

    Represent it visually?

    If you keep the playbook in house orientation and a person stood in front of the camera, the image would rotate 90 degrees to the right so that their head is located to the right of the frame and feet to the left.

    How is it useful?

    If you happened to take the playbook oriented 90 degrees counterclockwise (eg. logo blackberry is on the right side) and displays this buffer image 576 x 1024, head of the person would now be at the top of the screen.

    Once again, this can easily get somewhat confusing and really benefits greatly from visuals.  I keep a stack of post-it notes at hand and am constantly draw lines of frame and stick men on them and turning them accordingly

    See you soon,.

    Sean

  • OverlayControl on the viewfinder of the camera

    Is it possible to get an OverlayControl on the viewfinder of the camera on 5.0.0 API? I can't believe there is no way to draw on the field in the viewfinder.

    I also tried the MIDP way by substituting the canvas painting, but everything I try the viewfinder is always on top.

    The AbsoluteFieldManager does not work propperly with the viewfinder field.

    Drawing on top of the viewfinder playback or video is not currently supported.

  • What parameter sets the position of the elements in the viewfinder?

    Sort my files and folders have changed the setting that "affects" a place on the viewfinder screen and allow me to move them automatically.

    I remember that there is a setting for it, but can't find it.

    Thank you

    Don

    Open the view in the Finder menu, click Sort by, and turn it off.

    (143327)

  • How can I disable auto switching between the LCD screen and the viewfinder electronic on Sony A7sii?

    Hi guys,.

    I don't have it if the table on the right, but here's my question...

    Disabling automatic switching between the lcd and the viewfinder on the Sony A7Sii?

    Thanks in advance,

    Zia

    Hi @dslrshooters,

    could you please change your message header to match the content of you post.

    in the A6300, you can change the way in which the camera automatically switches between NET & screen in

    Menu custom (cog symbol): FINDER/MONITOR.

    with a little luck, you have the same menu on the 7Sii.

  • How to draw all the info my old to my new laptop computor

    Original title: draw all the information in my old laptop to the new

    How to draw all the info my old to my new laptop computor

    Hello

    1. What are the operating systems installed on both computers?

    2 you want to transfer all the settings from the old computer to the new computer?

    You can use Windows Easy Transfer to perform the task.

    http://Windows.Microsoft.com/en-us/Windows7/products/features/Windows-easy-transfer

    Hope this information helps

  • Anyone know how to increase the time that the viewfinder display is lit SC60 Canon?

    Hi I have problems, like a beginner redn the message through the viewfinder of the canon HS SX60

    Can someone show video mw or some instructions, I have the complete PDF manul for this, so stay on the screen the messages and won't disappear until I read their

    I am limited visioon being blid in my right eye, but I can still see if the viewfinder

    Help with messages left the lights on and their setting, power off or even extension of time that they are indicated could dramatically help me

    Thanks if cn nyone help and I thank if they can't, it's my first foray into digital SLR cameras, has been used for camcorders only before today

    Yuu thank you and God bless and Happy new year snappin thanks and appreciation

    Star

    I don't know exactly, but several times now the halfway retains active views.

  • debris on the viewfinder

    Recently decided on the Canon T3i on Nikon. After conversion unboxing found what looks like a large spec of debris on the viewfinder.  Looks like the spec is inside the glass of the viewfinder.  In reading the different posts on this problem of camera /, it seems that it is quite common.  The fans were not working.

    Question:

    What are the chances of getting a camera that has no debris/dust/dirt on the inside and who appears in the image or viefinder?

    Is there a fix for what I can do myself?

    I don't want to look back to get a unit of the worst questions... or several specifications.  That would drive me crazy.   I'm a little OCD as with such things.

    I think that the question that arises here is why are there dust inside a brand new camera out-of-the-box?  Was it a failure with Canon QC?  Was this an opportunity and returned item?  It was a demo or display item?  Good luck, it's just a fluke and nothing else is wrong with the camera, but no one knows who for sure.

    Regardless of whether or not it can be cleaned by blowing brush, I would not be happy spend hundreds or thousands on a camera to find it came preloaded with dust.  If it were I would go back.  Furthermore, if I bought a questionable dealer, I would be requesting a refund and take my business elsewhere.

    At the very least, I send to Canon for a deep cleaning and tested it.  Good luck.

  • R500 HF as the installation of closed-circuit camera. It will show what that appears in the viewfinder

    I need a camcorder to use as a camera for a system CCTV in a church.  Are the menus in the viewfinder to show via the HDMI output. Or it will look like it does when you listen to a recording.  I used cameras before which showed the rec light in the picture.  I need a camera that is not that.  The Vixva HF R500 work?

    Hi Rzrbk!

    Thanks for the post.

    What you see on the screen is displayed on the direct output over HDMI.  To disable the display on the screen, please fo the following:

    1. Open the menu.
    2. Select the [Configuration] tab.
    3. Select [the output screen display].
    4. Select [Off].

  • Dim focus in the viewfinder

    Is it possible to clarify the points of focus in the viewfinder.

    Using the Canon 3Ti.

    Wear glasses to sort zoom, it is difficult to see them sometimes (depends on lighting, background, etc.).

    Welcome to the site, iClick.

    You can't liven up the points, but you can try this solution:

    http://www.bhphotovideo.com/c/product/820968-reg/Hoodman_HEYEC18G_Glasses_Model_Hoodeye_Eyecup.html

    Or

    http://www.Adorama.com/HNHEYEC18LG.html

    Told me of this work, and the investment is low...

  • Dominant in the viewfinder of color 70 d

    I came back in a big-box store where I compared the sensation of the 70 D w/18-135 with a rebel w/18-55. No filter.

    Looking in the viewfinder of the 70 D, everything has been visibly tinted - sort of a light Serpa. I have not tried the view through the rebel LV was neutral. The color is uniform throughout the view entire, not unequal or such.

    The clerk took a few pictures and the color looked like right on the rear LCD, but through the viewfinder, the color was different and disturbing.

    I know this view cameras take a beating, but I wonder what might be wrong.

    Hi j - p!

    Thanks for posting.

    Compared to the rebel, the 70 d EOS has another type of viewfinder.  The viewfinder on the rebel sends the light directly on the glass and through the eyepiece.  However, the viewfinder on the 70 d EOS uses a transparent LCD screen.  More information is able to display including more advanced update system.  There seems to be a slight color difference, for the most part a look more coloured, especially when the unit is turned off.  It is not as noticeable when the camera is powered.

    It has not responded to your question or problem? Find more help contact us.

  • Trash in the viewfinder

    When I look through the viewfinder, I see a few small pieces of trash. The mirrors are clean, and cameras was aired. Need help for how clean, or do I need to drop it somewhere.
    Thank you from Texas

    It's dust, probably based on the 'top' of the focusing screen.  The screen is a frosted surface (usually the upper part is frosted and the bottom is brilliant).  The camera is projecting an image focused on this screen, because the distance between the lens and the image inside the camera sensor is exactly the same distance as the distance between the lens and the mirror to the frosted glass.

    When you look through the viewfinder, you're actually seeing a projected image on the screen to update (a bit like a rear projection TV screen).  This sort of would be like having dirt on the "inside" of the Panel of a rear projection TV - it is not on the surface, you can touch and we should remove the frosted glass to blow off the dust on the back of it.

    When you take a picture, the mirror reflex swings clear and the light path goes directly to the rear of the lens of the imaging sensor without ever going through the focusing - screen where it will not affect your images at all (you may have rocks upward in the room and it wouldn't affect the images).

    My 5 d II camera a user replaceable lenses of sight (Canon sells optional screens) and they include a special pair of tweezers with a curved tip to make it easy to open the update screen compartment and swap screens without having to 'touch' the screen with your fingers.  But your camera is not designed to have replaced sight glasses to (although others do them.)

    Although it is possible to remove the screen and clean it, do it very carefully because it is easy to damage this screen (especially if you never did before and do not know how to remove and reinsert the screen).  As the dust will not appear in an image, I would leave it alone.  If you choose to try clean in any case, it's your camera and your choice to accept the risk.  But it could lead to a more costly repair if something goes wrong.

  • How to increase the time that the viewfinder display is turned on (T3i/600 d)

    Hello!

    This seems to be a very basic question, but after searching for the manual and the web, I can not find an answer.

    When I press and release the shutter, the camera button turns on the viewfinder screen that shows the shutter speed, openness, indicator of level of exposure and ISO speed. But it turns off automatically after 4 seconds. I looked in all the menus and I can not find how to increase this timeout so that the information is displayed for a longer period of time.

    Help?

    Thank you!!

    I don't think it's an adjustable value.

  • HP 8500 has more scan not scan - I hear a fast spin and the book will not draw in the charger

    HP 8500 has more scan not scan - I hear a fast spin and the book will not draw in the charger. I tried a reboot, including disconnect the motor from the power analysis. A software update was just pushed through today as well, but the problem with the scanner was before this update. This update took place after the power has been turned off, then on again.

    The problem occurred this morning during a prior scan + back. I heard a click or pop/fast spin, something that indicates something was wrong, when he tried to feed on the 1st backsheet through for the scan of the back. Now, it won't take what anyone, even to make a copy using the feeder.

    When I look at the roll holder bar above paper, I noticed that it does not drop down to make contact with the paper he move to the scanner itself. I remember having this problem once before - there are 2 years, while the warranty was still in effect and does not remember how it was resolved.

    Any suggestions would be welcome. I don't want to buy another printer just to get the scanner to feed again. The printer itself is fine and scan from the bed is not affected.

    For anyone interested, I sloved the problem of roller scanner do not push the paper into the ADF.

    I turned off the printer last night. Today, I removed the power cable at the back of the printer and then unplugged the power cord from the wall. It was off for about 30 minutes. I reconnect the cable to the printer and the wall, the printer running and waited about 10 minutes. So tired the charger scanner again. It worked and I don't know why.

    Yesterday, I tried a version of what I found in the documentation for HP support. He said to do, but not to turn the printer off first. He has not worked for me.

    I don't know if my path has really had no effect on the results, but it works now and I don't have to think about buying a new printer for awhile yet. I like this idea!

  • change the camera Flash Mode without rebooting the viewfinder,

    Hi, is it possible to change the flash of the camera mode without having to restart the viewfinder?

    Thank you!

    void CameraTest::changeFlashMode()
    {
        if(currentFlashMode==CameraFlashMode::Off)
        {
            currentFlashMode=CameraFlashMode::On;
        }
        else if (currentFlashMode==CameraFlashMode::On)
        {
            currentFlashMode=CameraFlashMode::Auto;
        }
        else if(currentFlashMode==CameraFlashMode::Auto)
        {
            currentFlashMode=CameraFlashMode::Off;
        }
    
        cameraSettings->setFlashMode(currentFlashMode);
        camera->applySettings(cameraSettings);
            camera->open();
    
    }
    

    When I change the settings of QML, the viewfinder of the camera doesn't have to be restarted. I can't do it on C++, and if it does not restart without the last line, so I hope someone else can jump in and help.

    Good luck!

    Edit: I' read part of the API of the camera, and nothing not said that this

    // Use the camera pointer to get
    // the current settings.
    cameraObj->getSettings(settings);
    
    // You must cast newFlashMode to a CameraFlashMode::Type
    // to pass it to the setFlashMode function.settings->setFlashMode(CameraFlashMode::Type(newFlashMode));
    cameraObj->applySettings(settings);
    

    will force a reboot of the viewfinder.

Maybe you are looking for