Near-field communication overlay
View Patent ↗In an example implementation according to aspects of the present disclosure, a device, method, and storage medium. The device receives an image and identifies a computing device in the image. The device retrieves a reference diagram of the computing device and overlays a icon over a portion of the computing device in the image corresponding to a location of a near-field communication antenna.
1 . A computing device comprising:
a memory,
a processor, communicatively coupled to the memory, wherein the processor executes instructions to:
receive an image of a live feed of a camera;
identify a first computing device in the image;
retrieve a first reference diagram of the first computing device;
overlay a first icon over a first portion of the first computing device in the live feed corresponding to a first location of a near-field communication (NFC) device in the first reference diagram;
receive a second image, wherein the second image sequentially follows the image in the live feed;
calculate a movement based on a difference between the image and the second image; and
overlay the first icon over the first portion of the first computing device in the live feed wherein the first portion corresponds to a second location based on the movement between the image and the second image.
2 . The device of claim 1 the processor executes instructions further to:
identify a second computing device comprising the camera and receiving the live feed;
retrieve a second reference diagram of the second computing device; and
overlay a second icon on a display attached to the second computing device in the live feed, wherein the second icon corresponds to an antenna location.
3 . The device of claim 2 , the processor executes instructions further to:
receive a third image of the live feed of the camera;
receive a movement of the second computing device;
update the overlay of the first and second icons based on the movement;
overlay the first and second icons on the live feed;
compare a first position of the first icon and a second position of the second icon within the image;
responsive to the comparison, initiate a wireless data transfer between the first and second computing devices when a distance between the first and second positions meets a threshold distance.
4 . The computing device of claim 2 , where the processor executes instructions further to:
display the live feed with the overlayed first icon and the overlayed second icon.
5 . The device of claim 3 , wherein the first and second icons are scaled larger upon a proximity between the first and second computing devices becomes smaller.
6 . The device of claim 3 , the processor executes instructions further to:
calculate a difference of location from the first icon to the second icon;
overlay a third icon corresponding to a direction of movement to overlay the second icon to the first icon.
7 . A method comprising:
receiving an image of a live feed of a camera;
identifying a first computing device in the image;
retrieving a first reference diagram of the first computing device;
overlaying a first icon over a first portion of the first computing device in the live feed corresponding to a first location in the first reference diagram, wherein the first location corresponds to a near-field communication (NFC) antenna location within the first computing device;
receiving a second image, wherein the second image sequentially follows the image in the live feed;
calculating a movement based on a difference between the image and the second image; and
overlaying the first icon over the first portion of the first computing device in the live feed wherein the first portion corresponds to a second location based on the movement between the image and the second image.
8 . The method of claim 7 wherein the movement corresponds to an increase of scale of the first computing device from the image to the second image.
9 . The method of claim 8 , the calculating further comprising:
scaling the first icon proportionally to the increase of scale of the first computing device.
10 . The method of claim 9 , wherein the first reference diagram comprises the first location of the near-field communication antenna.
11 . The method of claim 10 , wherein the first reference diagram corresponds to an object model of the first computing device stored in a database.
12 . The method of claim 7 , wherein the first computing device is identified in the image using object detection of a convolutional neural network (CNN).
13 . A non-transitory computer readable medium comprising machine readable instructions that when executed cause a processor to:
receive an image of a live feed from a digital imaging component;
identify a first computing device in the image;
retrieve a first reference diagram of the first computing device from a database;
extract a first location from the first reference diagram;
overlay a first icon over a first portion of the first computing device in the live feed corresponding to the first location, wherein the first portion corresponds to an area within the first computing device where a near-field communication antenna (NFC) is integrated;
receive a second image, wherein the second image sequentially follows the image in the live feed;
calculate a movement based on a difference between the image and the second image; and
overlay the first icon over the first portion of the first computing device in the live feed wherein the first portion corresponds to a second location based on the movement between the image and the second image.
14 . The medium of claim 13 , further comprising instructions to:
identify a second computing device receiving the live feed;
retrieve a second reference diagram of the second computing device;
overlay a second icon on a display attached to the second computing device, wherein the second icon corresponds to a location of an antenna within the second computing device; and
overlay a third icon corresponding to a directional indicator from the second icon to the first icon.
15 . The medium of claim 14 , wherein the antenna within the second computing device comprises a second NFC antenna.
16 . The medium of claim 14 wherein the second computing device comprises a handheld mobile device.
17 . The computing device of claim 1 , wherein the first reference diagram is a computer aided design file including a plurality of locations of internal components within the first computing device.