本文介绍了具有LBP级联的js-objectdetect的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用 js-objectdetect 库开发具有对象检测功能的Web应用.因此,我将 opencv HAAR级联转换为所需的js-objectdetect格式为 python脚本.

I´m developing currently a webapp with object detection using the js-objectdetect libary.Therefore I´m converting opencv HAAR-cascades to the needed js-objectdetect format with a python script.

我的问题是,是否有可能转换 opencv LBP-cascades 也改为js-objectdetect格式.我需要这个,因为我已经在使用一个opencv应用程序,并且我需要使用相同的LBP级联.

My question is, if it´s possible to convert opencv LBP-cascades to the js-objectdetect format too. I need this, because I already have an opencv application in use and I need to use the same LBP-cascades.

我在Internet上使用LBP级联的Javascript对象/面部检测中找不到任何东西.有谁知道将这些级联与js-objectdetect或其他一些库一起使用的方法吗?

I don´t find anything on Javascript object-/ face detection with LBP-cascades on the internet. Does anybody know a way to use these cascades with js-objectdetect or some other libary?

提前谢谢!

推荐答案

本地二进制模式和HAAR功能彼此非常不同. js-objectdetect 已针对基于积分图像的快速HAAR级联评估进行了高度优化,并且无法处理LBP级联.

Local binary patterns and HAAR features are very different from each other. js-objectdetect is highly optimized for fast HAAR cascade evaluation based on integral images and cannot handle LBP cascades.

但是,似乎有用于LBP对象检测的javascript解决方案,快速的Google搜索将我指向 https://github.com/LukaszKrawczyk/LBP

However, it seems there are javascript solutions for LBP object detection available, a quick google search pointed me to https://github.com/LukaszKrawczyk/LBP

这篇关于具有LBP级联的js-objectdetect的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-15 10:45