# Smart Camera Image in VC4

**URL:** <https://community.br-automation.com/t/smart-camera-image-in-vc4/4121>\
**Category:** Controls & Vision\
**Tags:** mapp-vision, vc4\
**Created:** [August 20, 2024, 12:26pm UTC](https://community.br-automation.com/t/smart-camera-image-in-vc4/4121 "2024-08-20T12:26:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![enocha](https://avatars.discourse-cdn.com/v4/letter/e/FF8800/32.png) [@enocha](https://community.br-automation.com/u/enocha)\
**Post date:** [August 20, 2024, 12:26pm UTC](https://community.br-automation.com/t/smart-camera-image-in-vc4/4121/1 "2024-08-20T12:26:49Z")

</div>

Hi,

I am trying to get a live display of the image from a camera in VC4, but am struggling to get this working.  
I have tried using the FB httpService as described in AS Help: 56d1512c-8c2b-4848-9bf4-c79046e6761f  
I am not familiar with http however and must be missing something as I cannot get this to display.

I have also tried using the HTMLview datapoint: HTMLStream.  
With this I can see the image on my created web directory when using the browser on my laptop, but cannot see it in VC4.

If anyone has an example they would be willing to share where they have managed to get the camera image displayed in VC4, that would be much appreciated.

Thanks,  
Alessandro

---

<div class="post-metadata">

**Author:** ![sebastian.pfeiffer](https://avatars.discourse-cdn.com/v4/letter/s/FF8800/32.png) [@sebastian.pfeiffer](https://community.br-automation.com/u/sebastian.pfeiffer)\
**Post date:** [August 20, 2024, 1:41pm UTC](https://community.br-automation.com/t/smart-camera-image-in-vc4/4121/2 "2024-08-20T13:41:02Z")

</div>

Hello Alessandro,

sorry VC4 is not recommended and is not supported for displaying machine vision images due to its limited capabilities - please use mappView if possible.

An untested option would be to save the image on the PLC with the [GetImage FUB](https://help.br-automation.com/#/en/6/machine_vision%2Fmapp_vision%2Fprogramming%2Flibraries%2Fvibase%2Fuse_cases%2Fuse_case%2Fgetimage%2Fuse_case-2.html) and display it in VC4 with [VISAPI](https://help.br-automation.com/#/en/6/libraries%2Fvisapi%2Ffbks%2Ffbks_visapi.html).  
The necessary FUBs are [VA\_LoadBitmap](https://help.br-automation.com/#/en/6/libraries%2Fvisapi%2Ffbks%2Fva_loadbitmap.html), [VA\_BlitBitmap](https://help.br-automation.com/#/en/6/libraries%2Fvisapi%2Ffbks%2Fva_blitbitmap.html) and [VA\_FreeBitmap](https://help.br-automation.com/#/en/6/libraries%2Fvisapi%2Ffbks%2Fva_freebitmap.html), if this doesn’t work there is unfortunately no other possible option.

BR Sebastian

---

<div class="post-metadata">

**Author:** ![enocha](https://avatars.discourse-cdn.com/v4/letter/e/FF8800/32.png) [@enocha](https://community.br-automation.com/u/enocha)\
**Post date:** [August 20, 2024, 2:15pm UTC](https://community.br-automation.com/t/smart-camera-image-in-vc4/4121/3 "2024-08-20T14:15:32Z")

</div>

Hi Sebastian,

Thanks for the info, I’ll give it a try

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/brcommunity/original/1X/a202d64f0f03e22a662ed33fbbca6879f1efb794.jpeg) [@system](https://community.br-automation.com/u/system)\
**Post date:** [October 12, 2024, 10:17am UTC](https://community.br-automation.com/t/smart-camera-image-in-vc4/4121/4 "2024-10-12T10:17:13Z")

</div>

Automatically bumped on October 12, 2024, 10:17am UTC


