Is it possible to detect an object when it is placed on the display of the iPhone device?
Object Detection when placed on display
Hope I understand the question.
Do you mean detection from image ? If so, camera cannot see the object on the display…
Hi Thanks for your reply. Don't want to detect from image... if an object like toy is placed on the display of an iPhone, our app need to the detect the object(toy) and we need do further action depending upon the toy detected...
Thanks
I doubt it is possible.
What sensor could be used ?
- camera : excluded, as seen before
- pressure sensor: that's the most likely candidate. May have a look here: https://www.hackingwithswift.com/read/37/7/how-to-measure-touch-strength-using-3d-touch
- luminosity (hidden by object): but not detected through screen but from top sensor
- sound, if toy is noisy, but that would not detect toy ON screen
Could you explain more why you would need such detection ? That may give some new ideas.
Hi my project outline is,
-
I will be given one or more toys.
-
I need to include few music files in my project.
-
I need to place a toy on the display of an iPhone.
-
Based upon the toy placed I need to run a music file..
-
if I place toy1 , need to play music file1.
-
if I place toy2 , need to play music file2 etc....
Is this kind of app possible in iPhone?
what are the things need to be considered?