Search found 8 matches

by Falong
Tue Jun 19, 2018 11:35 pm
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 58
Views: 17648

Re: implement own Haar-Cascade

Hi download the script like so: wget https://raw.githubusercontent.com/openmv/openmv/master/usr/openmv-cascade.py The link above seems not existed any longer. I get it from https://github.com/openmv/openmv/blob/master/ml/haarcascade/cascade_convert.py but when I ran it with attached xml file on ubu...
by Falong
Tue Jun 12, 2018 7:01 pm
Forum: Technical Discussion
Topic: MemoryError when read wave frames
Replies: 10
Views: 463

Re: MemoryError when read wave frames

This is just a fragmented memory issue, the scripts run fine on H7. I think most of memory is consumed by just loading/parsing/compiling the modules wave and chunk. This seems to fix it: frames = f.readframes(frame_rate) self.dac.write_timed(frames, frame_rate) del frames delay(1000) gc.collect() J...
by Falong
Mon Jun 11, 2018 10:16 pm
Forum: Technical Discussion
Topic: MemoryError when read wave frames
Replies: 10
Views: 463

Re: MemoryError when read wave frames

Thanks!
It's on M7.
by Falong
Thu Jun 07, 2018 8:21 pm
Forum: Technical Discussion
Topic: MemoryError when read wave frames
Replies: 10
Views: 463

Re: MemoryError when read wave frames

Can you please leave me your mail address, I'll mail you the script.
Also find when wav file is very small(tested with 1KB), it is ok.
Thanks,
by Falong
Wed Jun 06, 2018 7:22 am
Forum: Technical Discussion
Topic: MemoryError when read wave frames
Replies: 10
Views: 463

Re: MemoryError when read wave frames

Please see the attached screenshot.
Thanks,
by Falong
Tue Jun 05, 2018 11:04 pm
Forum: Technical Discussion
Topic: MemoryError when read wave frames
Replies: 10
Views: 463

MemoryError when read wave frames

Hi, when using openMV DAC to play wav file, MemoryError exception is raised in chunk.py when readframes function in wave.py module is called. I got the chunk.py and wave.py and test wav file from below article: https://docs.micropython.org/en/latest/pyboard/pyboard/tutorial/amp_skin.html the tested ...
by Falong
Fri Jun 01, 2018 4:21 am
Forum: Technical Discussion
Topic: image rotate
Replies: 2
Views: 222

Re: image rotate

Cool, I also see this function demo at youtube
https://www.youtube.com/watch?v=y1X8JBeOfNE
by Falong
Fri Jun 01, 2018 3:12 am
Forum: Technical Discussion
Topic: image rotate
Replies: 2
Views: 222

image rotate

How to do snapshot image rotation with specified angle? just like that rotate function in imutils module?
it seems image module has no this feature supported.

Thanks

Go to advanced search