Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Take a photo with the phone that is sent (transfered) directly to the pc. Phone cameras are way better than typical laptop/pc... #2197

Closed
1 task done
nimusd opened this issue Mar 15, 2021 · 7 comments

Comments

@nimusd
Copy link

nimusd commented Mar 15, 2021

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@Biswa96
Copy link
Contributor

Biswa96 commented Mar 15, 2021

You can change the USB mode to transfer any type of file.

@rom1v
Copy link
Collaborator

rom1v commented Mar 15, 2021

Duplicate of #241

@rom1v rom1v marked this as a duplicate of #241 Mar 15, 2021
@rom1v rom1v closed this as completed Mar 15, 2021
@nimusd
Copy link
Author

nimusd commented Mar 15, 2021 via email

@rom1v
Copy link
Collaborator

rom1v commented Mar 15, 2021

To access the camera, you'll need a real Android app on the device (scrcpy executes a java application from shell).

From that app, you could take a photo and encode it. Then transfer it to the computer by some mean (either via a socket over adb, or a socket using the IP:port if the device is on the same LAN as the computer). Or just save the picture to some well known location, then adb pull it.

Tu parles français, non? ... moi aussi!

Oui, mieux qu'anglais ;)

@LBensman
Copy link

You don't really need any additional support from scrcpy. Do you have Dropbox app/account? If so, you can simply open Dropbox app on the phone to take picutres. Open app, navigate to dropbox folder where you want those saved (and which automatically syncs to your computer), tap ⊕ and then "Take a photo". This should bring up camera view to take a picture. Take a picture, accept, and the image should sync from phone to Dropbox and then to your computer, and voila.

J'aimerais parler français.

@nimusd
Copy link
Author

nimusd commented Mar 15, 2021 via email

@LBensman
Copy link

Haha 😂 , I meant to say "I wish I spoke French (but I don't!)" and it seems that Google Translate translated that as more of "I'd like to speak French" and I didn't mean to suggest to switch to French 🤣 . Damn you Google!!!!!!! But let's hope it did translate most of your message intact:

Yes, OneNote can accomplish this as well. It really depends how you want your pictures delivered to you, and how you plan to use it. If you need raw picture files (i.e. your jpegs), then dropbox is best. If capturing on onenote gets those pictures faster to whatever destination you want them at, that certainly works too. I don't recall exactly, but I suspected at one point that OneNote modifies the pictures a little bit when it inserts them into pages (I think it reduces their dimensions and/or transcodes them to lower fidelity to save on space), but if such reduction is ok for you, that'll work. Also, if I remember correctly, with Dropbox it also doesn't save them locally if it was taken with dropbox app (as opposed to camera, and then shared to dropbox app), but that stands to be confirmed as I may be wrong on that.

But either way, whichever method works, it's probably more prudent way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants