Optical Flow Sensor - Focus and PY utility

I realized after posting comments in the documentation, that it was the wrong place.  So here I am to ask the following:

Can someone explain what may be causing the Python image capture to hang? It will capture 1 - N images then stop with the following message:

line 11incomplete (19 of 30), ignoring 12,16,8,8,12,12,16,20,28,36,40,60,96,96,76,48,16,8,

How does someone determine that their sensor is in focus? As grainy as the image is given the resolution, it is every difficult to determine focus. I decided through experimentation that 'out of focus' was when the image was mostly just gray and had no contrast. Therefore, the image with the most contrast, must be 'in focus'.  Is this the correct approach?

Thanks in Advance.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Change windows, works nice with windows 7, and must send data without problems.

    this is a problem of phyton

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…