Search found 16 matches
- Wed Mar 23, 2022 4:06 pm
- Forum: AI-deck
- Topic: AI-deck GAP8 WiFi bootloader
- Replies: 2
- Views: 9535
Re: AI-deck GAP8 WiFi bootloader
Hi marcus, I tried to update the firmware using idf.py flash, but the connection was failed. Executing action: flash Serial port /dev/ttyUSB1 Connecting........_____....._____....._____....._____ /dev/ttyUSB1 failed to connect: Failed to connect to Espressif device: Timed out waiting for packet head...
- Tue Dec 21, 2021 9:38 pm
- Forum: Support
- Topic: flying using cflib doesn't work anymore
- Replies: 2
- Views: 10309
flying using cflib doesn't work anymore
Hi, It worked weeks ago, but tonight when I tried to run the same code (https://www.bitcraze.io/documentation/repository/crazyflie-lib-python/master/user-guides/sbs_motion_commander/), it disconnected. I'm not sure if this was caused by my updating all projects in the virtual machine. I can still fl...
- Fri Dec 10, 2021 9:33 am
- Forum: AI-deck
- Topic: How to save color images when using Crazyradio
- Replies: 8
- Views: 1829
Re: How to save color images when using Crazyradio
There is some reference to color encoding in the gap_sdk. I could not get that to work though. We are now investigating streaming raw image data, instead. We found that JPEG encoding takes a long time anyways, so it might even improve performance. Especially if you do the demosaicking off-board. Th...
- Thu Dec 02, 2021 1:24 pm
- Forum: AI-deck
- Topic: How to save color images when using Crazyradio
- Replies: 8
- Views: 1829
Re: How to save color images when using Crazyradio
Hi Noah, With the buffer format in RGB565 you will want the image to stream to be in that same format. The default demosaicking function creates RGB888 images. I made some changes to my demosaicking function, and managed to successfully save the RGB565 image with WriteImageToFile. However, the Pyth...
- Tue Nov 23, 2021 10:59 pm
- Forum: AI-deck
- Topic: How to save color images when using Crazyradio
- Replies: 8
- Views: 1829
Re: How to save color images when using Crazyradio
@gemenerik, I tried to modify the code, but the viewer.py shows strange gray images. The color mode of the color image is RGB565. I'm not sure if it's correct. I also changed the streamer_conf.depth to 3 as you said. Could you help me? Thank you. Here is my code: #include "bsp/camera/himax.h&qu...
- Fri Nov 19, 2021 8:27 pm
- Forum: AI-deck
- Topic: Jpeg streaming using my own wifi
- Replies: 21
- Views: 7103
Re: Jpeg streaming using my own wifi
Hello, I'm not the one who posted this question. But this works for me!!
- Tue Nov 16, 2021 10:12 am
- Forum: AI-deck
- Topic: How to save color images when using Crazyradio
- Replies: 8
- Views: 1829
Re: How to save color images when using Crazyradio
Since the streamed image is JPEG compressed I would recommend doing the demosaicing on the GAP8, so before streaming. There are examples of demosaicing in the AIdeck_examples repository, for example in the camera test . The demosaicing function is found in the img_proc files. Be aware of the fact t...
- Tue Nov 16, 2021 9:22 am
- Forum: AI-deck
- Topic: How to save color images when using Crazyradio
- Replies: 8
- Views: 1829
How to save color images when using Crazyradio
I want to know how I can save color images when using Crazyradio. I already switched to a color camera, and I flashed the test_camera code to GAP8. However, when I open viewer.py, the images have gridlines just like in this post (https://forum.bitcraze.io/viewtopic.php?p=23386&hilit=color#p23386...
- Mon Nov 15, 2021 6:18 pm
- Forum: AI-deck
- Topic: saving color images is very slow
- Replies: 5
- Views: 881
Re: saving color images is very slow
Hi! This write image to file will only work with the jtag programmer, so not sure where it is saving the image now.... It should actually give a fault. In the case that you are using a jtag cable, there is from the aideck examples repository no way to increase this, except for saving smaller images...
- Mon Nov 15, 2021 11:10 am
- Forum: AI-deck
- Topic: saving color images is very slow
- Replies: 5
- Views: 881
Re: saving color images is very slow
Hi, I bought a color camera for my AI deck 1.1. I found it's very slow to save color images. So, each image (.ppm) takes about 30 seconds. I ran the code by 'make run' on the RAM. The WIFI (hotspot) is the default one generated by the deck. Thanks! Hi Noah! Can you elaborate on what you want to ach...