Ball-grayscale.png : snapshot
Ball-binary-00.png : image without cropping
Ball-binary-01.png : cropping on the blob.rect() rectangle
Ball-binary-02.png : cropping on the blob.rect() rectangle - 1 pixel
Ball-binary-03.png : cropping on the blob.rect() rectangle - 2 pixels
It seems there is transformation issues on the right of the image (Ball-binary-01.png and Ball-binary-02.png).
And I wonder why there is gray dots on the binary image in the IDE. Is the binary image a jpeg one then in the IDE? Is it the same in the frame buffer?
I see 3.9.2 firmware is out. Don’t know if it solves the issue.
But I didn’t manage to upgrade the firmware from a zip file. What I done:
Jumper between RST and BOOT.
From IDE, run bootloader and select OPENMV4P\openmv.dfu
Disconnect camera and reconnect. I see “SMT device in DFU mode” in windows devices.
DFU Util says “Waiting for device, exit with ctrl-C”
Then I tried the following:
I copied files from firmware_v3.9.2.zip in C:\Program Files (x86)\OpenMV IDE\share\qtcreator\firmware change text in firmware.txt to 3.9.2 . Nevertheless IDE says 3.8 is still the latest.
Hi, don’t use DFU to update the device. That super doesn’t work anymore with the latest ST silicon, they broke their DFU bootloader in hardware. You have to use our firmware.bin file and in non-DFU update mode.
DFU loading ONLY works for loading the bootloader.dfu file onto the OpenMV Cam H7 Plus. From there, you can then use our firmware.bin bootloader to get the main image onboard the camera.
…
If your device bricked? You generally don’t want to use the DFU bootloader as we have our own bootloader which is better.
Thank you for your quick answer.
I tried the 3.9.2 firmware by loading through IDE \firmware_v3.9.2\OPENMV4P\firmware.bin
But I got no croping now. img = img.crop(blobroi) seems doing nothing:
I tried again 3.8.0 to be sure by loading \firmware_v3.8.0\OPENMV4P\firmware.bin
Crop function works:
Sorry, didn’t understand well, I was changing the variable assignment in the for loop, not the argument in the crop function.
My crop code is now working: img.crop(roi=blobroi)
But I still have the same artefact that for 3.8.0.
Sometime the artefact is subtle, it doesn’t occur all the time in a same way. The right of the circle should be straight + 1 pixel like here (without cropping):
Sometimes it is like that:
Or like that:
I wish I could post here shapshots from the camera for you to check. Is the only solution is to do some img_writer.add_frame(img) on an sdcard?
Nice.
When I saw you published a new IDE/firmware release, I imagined you were quite busy.
If it is only an artefact on the IDE display, I can live with it for the moment till the next firmware release, saving you some time.
My cam is a H7plus if you already compiled the firmware.
I have 3 H7plus for the moment. Figuring out if they fit my project. And I hope so as I found your products amazing.