Detecting taps on any surface by iPhone [closed] - iphone

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am developing an app in which I need to put my iPhone on any surface and detect the taps on that surface. Please provide me any link or idea regarding that.
Thanks.

See sample code out there for using the accelerometer to detect movement.
Then test varying amounts of detected movement and determine what you think is "tap".

As a suggestion - you could use the accelerometer in the phone to detect vibrations. I'm not sure if it will be accurate enough for you, and you will need to do some processing of the results to filter for the correct type of vibration.
This isn't simple, so if you were hoping for some code or library to do this I don't think you'll find what you need.
If you do manage to do it, you could open source your implementation and help the next person who comes along.

Related

How to display a 3D model in flutter? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I want to display a 3D model in my application (whose file format is .obj) on my page. The user can rotate this model, like iOS's SceneKit, but I don't have any idea for this. Can anyone help me with how to handle 3D objects in flutter?
Can I build 3D (OpenGL) apps with Flutter?
Today we don’t support for 3D via OpenGL ES or similar. We have
long-term plans to expose an optimized 3D API, but right now we’re
focused on 2D.
https://flutter.io/docs/resources/faq#can-i-build-3d-opengl-apps-with-flutter
you can check out this repo, but the performance is not really good. I think you can consider using texture to implement.

Swift app that allows two users to see a live updates drawing canvas [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm trying to build a swift app that would allow a user on one side to draw an image that will be updated in nearly real time on the other user's device, somewhat as if they were drawing on a whiteboard in person.
Anyone have any tips or places where I should start? I'm relatively new to swift. Thanks for your help.
This requires a persistent line of communication between your mobile device(s) and your server. Websockets allow this type of communication. I haven't implemented them myself so I can't provide implementation details, but there are plenty of resources available online.
Sockets with Swift
Websockets Tutorial
I think Realm is exactly what you are looking for.
Real time collaboration in as little as 10 lines of code

Can anyone suggest a method to detect the eyelids? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I have tried manual detection using LS polynomial fitting here. But that cannot be used in my project as mine has to be a fully automated system.
Take a look at the Scale-Invariant Feature Transform, or SIFT. This video explains it well. You "train" a detector with one or more images of eyelids, and the detector locates similar regions in the input images. It's the de facto general purpose feature detector - although more specialized tools like face detectors are faster.
The "Scale-Invariant" part means that it can detect the same object at different sizes and rotations.

Streaming webcam to my webpage [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am trying to build a webpage that shows the video of a webcam on live.
Right now, I have no webcam, so I'll have to buy one. I don't mind how much it costs, I just want it working with a good resolution (at least 720p).
I don't know which kind of camera I should buy and which programming language is better for that (if it's possible I would prefer not to use Flash).
Can you help me?
Sorry for my bad English, I'm trying to improve ;)
Alex
To show in a webpage, you can use IP-Camera. They cost a little more, but they can serve their images as independent network node. They also supports voice and live compression (H264 and MPEG4).
Best brand is Axis, but there are lots of options.
For Axis camera models, adding view to page would be as easy as add this item to your page:
<img src='http://192.168.1.20/axis-cgi/mjpg/video.cgi'>
It works for most browser, not IE. For IE, they have support as well here.

Tracking anothe iphone on Mapview [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I want to developed iphone application in which i want to track another iphone on google map with in 10km region what kind of API can i use please tell me
Thanks
You'll need the device you're tracking to tell you its position. That means that it'll have to be running some app (possibly the same app) to get its position using Core Location. Then, it'll have to provide that information. As Richard Ross points out in his comment, you could do that using GameKit. Another approach would be to have the device send its location to a server that you create, perhaps using a web service. Your device would then query the server to find out the location(s) of device(s) it cares about.