Search found 6 matches

by Sakuyal
Fri Aug 24, 2018 3:58 pm
Forum: Technical Discussion
Topic: Image differencing three separate parts of camera view
Replies: 8
Views: 1781

Re: Image differencing three separate parts of camera view

Forgot to post yesterday, but here's what I ended up doing. Discovered that there was a way to reduce the region-of-interest for the histogram and so I ultimately didn't need any masks at all. Here's an example line of how I implemented that: diffLeft = img.get_histogram(roi=(0, 215, 100, 25)).get_p...
by Sakuyal
Thu Aug 23, 2018 12:46 pm
Forum: Technical Discussion
Topic: Image differencing three separate parts of camera view
Replies: 8
Views: 1781

Re: Image differencing three separate parts of camera view

Sure. I exported a .pbm in Photoshop and used a converter to turn it into a .pgm. Then I applied the mask to the image before frame differencing. while(True): clock.tick() # Track elapsed milliseconds between snapshots(). img = sensor.snapshot().b_and("/masktest.pgm") # Take a picture and return the...
by Sakuyal
Tue Aug 21, 2018 2:26 pm
Forum: Technical Discussion
Topic: Image differencing three separate parts of camera view
Replies: 8
Views: 1781

Re: Image differencing three separate parts of camera view

Hey, thanks for the help so far. I've created a 1-bit-per-pixel bitmap in Photoshop and am trying to load it to RAM--however, I keep getting an error saying that the image is corrupt. I tried to create the same 1-bit image in paint and got an error saying that the image is in an unsupported format. ...
by Sakuyal
Fri Aug 17, 2018 6:35 pm
Forum: Technical Discussion
Topic: Image differencing three separate parts of camera view
Replies: 8
Views: 1781

Image differencing three separate parts of camera view

Hey! It's me. Back at it again with a slightly better problem. My cohort and I are looking into using the OpenMV's image differencing feature to determine when someone moves into or out of specified spaces. While this is easy enough to do with the whole screen (or a fraction of it via windowing), I ...
by Sakuyal
Wed Aug 15, 2018 7:48 pm
Forum: General Topics
Topic: Continously send images to pc
Replies: 1
Views: 1046

Continously send images to pc

Hello, I'm trying to grab the camera data from an OpenMV M7 camera to use in another program. The camera will remain connected to the pc it needs to send the data to via USB. Transmitting the images by UART or Serial is the goal. I'm still a bit of a newbie to i/o, but using the thread here I've bee...

Go to advanced search