Search found 19 matches

by garivetm
Thu Feb 06, 2020 4:43 am
Forum: General Topics
Topic: Openmv AprilTag--Out of fast Frame Buffer Stack Memory!
Replies: 8
Views: 4790

Re: Openmv AprilTag--Out of fast Frame Buffer Stack Memory!

Ok I will remove the logging and see what happens. Thank you.
by garivetm
Wed Feb 05, 2020 12:50 pm
Forum: General Topics
Topic: Openmv AprilTag--Out of fast Frame Buffer Stack Memory!
Replies: 8
Views: 4790

Re: Openmv AprilTag--Out of fast Frame Buffer Stack Memory!

Mhh too bad to hear that, but ok i can understand.

Concerning the lost time I observed, 1s is pretty big. Do you think it is because of the log ? Or could it come from the find_apriltag function itself ?
by garivetm
Wed Feb 05, 2020 8:17 am
Forum: General Topics
Topic: Openmv AprilTag--Out of fast Frame Buffer Stack Memory!
Replies: 8
Views: 4790

Re: Openmv AprilTag--Out of fast Frame Buffer Stack Memory!

Hi, I'm facing the same issue with an H7 cam. April tag detection is done continuously and ROI alternates between the 2 halves of the image (160x120). Sometimes the Out of fast Frame Buffer Stack Memory! error occurred and I don't know why. Here are my 2 ROIs : roi_april = [(0, 0, 80, 120), (80, 0, ...
by garivetm
Wed Feb 05, 2020 6:35 am
Forum: Technical Discussion
Topic: I2C baudrate on CAM H7 seems wrong
Replies: 4
Views: 1194

Re: I2C baudrate on CAM H7 seems wrong

Thx, it has been done.
by garivetm
Wed Jan 29, 2020 8:30 am
Forum: Technical Discussion
Topic: I2C baudrate on CAM H7 seems wrong
Replies: 4
Views: 1194

Re: I2C baudrate on CAM H7 seems wrong

Yes I do think it is this kind of problem. Can you give me the link of the git repo please ? I will report it.
by garivetm
Wed Jan 29, 2020 4:06 am
Forum: Technical Discussion
Topic: I2C baudrate on CAM H7 seems wrong
Replies: 4
Views: 1194

I2C baudrate on CAM H7 seems wrong

Hi, I have configured an i2c bus in MASTER mode with the baudrate 400000 on my CAM H7. However when I scope the SCL line, signal frequency is 800kHz. I have also tried 100000 and frequency is 120kHz (so it seems ok). 200000 is not supported according to an error message. What are the allowed baudrat...
by garivetm
Wed Oct 16, 2019 6:29 am
Forum: Technical Discussion
Topic: h7 CAN not available
Replies: 27
Views: 25028

Re: h7 CAN not available

iabdalkader wrote:
Mon Sep 16, 2019 11:34 am
Hi, CAN is now supported on the H7, and I fixed the timing, setfilter() and any() bugs. The next release will be out in a day or two.
That's a great news !!! I will get a H7 cam asap and test it.

Thank you !
by garivetm
Mon Aug 12, 2019 5:57 am
Forum: General Topics
Topic: M7 crashes under Vin but works fine with USB
Replies: 17
Views: 8281

Re: M7 crashes under Vin but works fine with USB

Hi ! Sorry, I was focused on doing other work for the business. OpenMV is at a point where it's beyond my ability to do everything as quickly as I used to. No problem, you're still doing a great job ! ;) Okay, debugged this. So, the issue is literally that you are running out of stack on the M7. We ...
by garivetm
Mon Jul 29, 2019 12:00 pm
Forum: General Topics
Topic: M7 crashes under Vin but works fine with USB
Replies: 17
Views: 8281

Re: M7 crashes under Vin but works fine with USB

Any update ? =)
by garivetm
Thu Jul 25, 2019 6:04 am
Forum: General Topics
Topic: M7 crashes under Vin but works fine with USB
Replies: 17
Views: 8281

Re: M7 crashes under Vin but works fine with USB

You will find attached a file that reproduces the problem. I coded the same code structure as the one of my project. That's mean the following function call sequence : run() in the main while(1) loop calls => blobs_analysing() that calls => find_bicolor_blobs() that calls => find_blobs() . In this c...
by garivetm
Wed Jul 24, 2019 9:14 am
Forum: General Topics
Topic: M7 crashes under Vin but works fine with USB
Replies: 17
Views: 8281

Re: M7 crashes under Vin but works fine with USB

Changing the thresholds could not be the solution : the threshold values depend on my application. I found 2 workarounds : I removed the merge_callback and no more exception is raised. That means the merge_callback is working in a recursive way that could lead to a "Maximum Recursion Depth Exceeded"...
by garivetm
Wed Jul 24, 2019 6:37 am
Forum: General Topics
Topic: M7 crashes under Vin but works fine with USB
Replies: 17
Views: 8281

Re: M7 crashes under Vin but works fine with USB

I succeeded in finding that a "Maximum Recursion Depth Exceeded" exception was raised when calling the find_blob function : def merge_callback(blob1, blob2): if (blob1.cx() <= blob2.cx()) : blobs = [blob1, blob2] else : blobs = [blob2, blob1] if((blobs[0].code() == 1) and (blobs[1].code() == 2)): re...
by garivetm
Tue Jul 23, 2019 6:14 am
Forum: General Topics
Topic: M7 crashes under Vin but works fine with USB
Replies: 17
Views: 8281

M7 crashes under Vin but works fine with USB

Hi, I'm using a M7 embedded on an electrical vehicle. It is powered through an embedded 5,3V (3A) from the VIN input. While debugging/developing (M7 connected via USB) everything goes fine. However the program seems to crash when it is powered by the VIN input. It happens while the program is runnin...
by garivetm
Fri Jun 21, 2019 9:04 am
Forum: Technical Discussion
Topic: FPS differences between M7 and H7
Replies: 2
Views: 6486

Re: FPS differences between M7 and H7

Hi,

That's what I wanted to hear. I will check it anyway but it is what I naively thought. Thank you.
by garivetm
Thu Jun 20, 2019 11:38 am
Forum: Technical Discussion
Topic: h7 CAN not available
Replies: 27
Views: 25028

Re: h7 CAN not available

Ok, then which repo should I follow to be kept update on the upcoming improvements ?
by garivetm
Thu Jun 20, 2019 11:36 am
Forum: Technical Discussion
Topic: FPS differences between M7 and H7
Replies: 2
Views: 6486

FPS differences between M7 and H7

Hi, I do not find any clear information about the performances of the M7 and the H7. In the Cam M7 documentation, it is said : Most simple algorithms will run at above 30 FPS In the Cam H7 documentation, it is said : Most simple algorithms will run at above 60 FPS Let's say I have an application wit...
by garivetm
Thu Jun 20, 2019 11:21 am
Forum: Technical Discussion
Topic: h7 CAN not available
Replies: 27
Views: 25028

Re: h7 CAN not available

Hello there, I'm currently using a M7 cam and I am planning to switch to the new H7. However CAN is mandatory in my application. Could you give me an update about the work you are doing on implementing CAN bus on the new H7 ? I see this comment in the PR : "This driver has been tested in loopback mo...
by garivetm
Tue Sep 19, 2017 4:50 am
Forum: Technical Discussion
Topic: MemoryError: Memory allocation failed, allocating 1024 bytes
Replies: 4
Views: 3518

Re: MemoryError: Memory allocation failed, allocating 1024 bytes

I really appreciate your answer thank you. To people looking for the RAM specs, here is what is mentioned in the CAM M7 datasheet (RAM Layout) : - 128KB .DATA/.BSS/Heap/Stack - 384KB Frame Buffer/Stack (512KB Total) Note that you can call get_statistics() directly on the image. Do that to avoid the ...
by garivetm
Mon Sep 18, 2017 9:09 am
Forum: Technical Discussion
Topic: MemoryError: Memory allocation failed, allocating 1024 bytes
Replies: 4
Views: 3518

MemoryError: Memory allocation failed, allocating 1024 bytes

Hi, I'm using an openMV M7 to track a line using color detection. So basically, i'm setting the camera, all my com stuff and calling : img = sensor.snapshot() My application crashes sometimes with a pop-up indicated only "MemoryError: Memory allocation failed, allocating 1024 bytes" when calling thi...

Go to advanced search