pangchaogit
pangchaogit
I got same error ,I use cmake compile ,how do I set g++ in Cmakelists.txt
I got same problems, how do you deal with it?
Thank you! , I fixed the problem by your ways.
I try tensor_t out_tensor =get_graph_tensor(graph_t graph, const char * tensor_name) to deal with my problem And out_tensor is not NULL.what a pity ,when I call function float* outdata = (...
Thank you ! I solved my problem by your latest tengine_lib.but find tensor_t get_graph_tensor(graph_t graph, const char * tensor_name) is not able and tensor_t out_tensor = get_graph_output_tensor(graph, 0, 0) got...
awtk下的现有控件支不支持在ubuntu x86下模拟调用摄像头并显示视频,如果不支持,是否有一些底层接口去接收图片文件流并显示呢?
你好。我参照v4l2+frambuffer 的方式获取到了摄像头下的视频,采用接口 mutable_image_set_framebuffer(image,width,high,format,(uint8_t*)fbp); fbp是frambuffer指针,format设置是 format=BITMAP_FMT_RGB565;程序运行后窗口没有图像显示,终端打印输出:mutable_image_prepare_image:31 mutable_image->prepare_image != NULL mutable_image_on_paint_self:60 bitmap != NULL theme_find_style:89 t != NULL && t->data != NULL theme_find_style:89 t != NULL && t->data != NULL 这是我哪里没设置对么
现在改成在回调函数里面准备图片,设置s_bg_color, static ret_t dummy_prepare_image(void* ctx, bitmap_t* image) { video_capture(src_image); //draw_framebuffer(src_image); rect_t r = rect_init(0, 0, image->w, image->h); image_fill(image, &r, s_bg_color); for(int i=0;i
非常感谢,我的问题已经解决,是我在v4l2 下的yuyv转rgb转换有误(没有加入a通道),导致在调用接口fill_bgra8888_rect(dst, dst_r, c)时候图片显示异常,yuyv转rgb转换加入a通道即可。