Search found 12 matches

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: 6115

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: 6115

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: 6115

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: 6115

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: 6115

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: 6115

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: 5881

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: 24
Views: 21545

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: 5881

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: 24
Views: 21545

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: 2574

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: 2574

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