eloquentarduino / EloquentEsp32cam

Use your Esp32-cam like an expert
GNU General Public License v3.0
111 stars 20 forks source link

collectionServer question on resolution #22

Open Tomas1337 opened 8 months ago

Tomas1337 commented 8 months ago

Great example on using the camera itself to conveniently get training data.

On your example, you mention that "In fact, you can well capture images at the resolution you prefer (up to the RAM limits, of course) and still have space to run FOMO model.".

When doing capture with a modified camera.resolution.face() to say .vga(), the capture interface only seems to be saving the a portion of the streamed image(s). Seems to crop on the top right corner to what I assume is the default resolution of .face()

I couldn't find methods to modify this, so I thought i'd ask you first.

medamarko commented 7 months ago

It seems there is hardocded res in html file: #jpeg {width: 240px; height: 240px;}, also would be good ot have configurable timer of image taking. currently its hardcoded in html setInterval(() => this.collect(), 250).

eloquentarduino commented 5 months ago

Will add the possibility to configure.