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 picture during ongoing encryption process #2

Open
bgeVam opened this issue Jul 7, 2017 · 2 comments
Open

Take picture during ongoing encryption process #2

bgeVam opened this issue Jul 7, 2017 · 2 comments

Comments

@bgeVam
Copy link

bgeVam commented Jul 7, 2017

Any thoughts on this issue? We are currently experiencing issues about this in our project, was this one of your goals? I think you describe something about this issue in processall, but unfortunately i don't speak italian :(

So how do I know when It is okay to access the memory, when the camera wants to store a picture simultaneously?

@boyska
Copy link
Owner

boyska commented Jul 7, 2017

wow, glad to discover https://github.com/ProjektMedInf/CryptoSD

First of all, I promise to translate the comments to English.
Then, could you clarify what exactly is your doubt? I assume that after a photo is written on the SD, it will not be modified again by the camera. So I can do what I want with it, ie wiping it with an encrypted version.
The only tricky part is understanding when the image has been fully written. If that's your doubt, I think that many eurhistics can be used if you don't care about realtime. For example you could:

  • check the size every second. When it's not increasing, it's done
  • (maybe) check some JPEG fact which should tell you if there's any issue

@bgeVam
Copy link
Author

bgeVam commented Jul 26, 2017

sorry for the late reply!

check the size every second. When it's not increasing, it's done

generally i like this idea, but the problem i see here is that we have to remount the SD card in order to detect new images. but how do we know at which point in time the camera is not writing to the sd card so we can remount safely?

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

2 participants