Posts

Android Studio:OpenCv:Face-detection = java.lang.UnsatisfiedLinkError: Couldn't load detection_based_tracker from loader dalvik.system.PathClassLoader -

java.lang.unsatisfiedlinkerror: couldn't load detection_based_tracker loader dalvik.system.pathclassloader[dexpathlist[[zip file "/data/app/org.opencv.samples.facedetect-9.apk"],nativelibrarydirectories= [/data/app-lib/org.opencv.samples.facedetect-9, /vendor/lib, /system/lib]]]: findlibrary returned null and have error. at.org.opencv.samples.facedetect.fdactivity$1.onmanagerconnected(fdactivity.java:67) related rows: 66: // load native library after(!) opencv initialization 67: system.loadlibrary("detection_based_tracker"); gradle version: 2.14.1 plugin version: 2.2.0 build.gradle(app): apply plugin: 'com.android.application' android { compilesdkversion 25 buildtoolsversion "25.0.2" defaultconfig { applicationid "org.opencv.samples.facedetect" minsdkversion 8 targetsdkversion 8 ndk { modulename "detection_based_tracker" } } sourcesets.main {...

r - Shiny - How not to select any option in radioButtons? -

how can not select option in radiobuttons? from doc : selected selected value (if not specified defaults first value) but don't want select when page loaded. possible? from documentation: if need represent "none selected" state, it's possible default radio buttons have no options selected using selected = character(0). however, not recommended, gives user no way return state once they've made selection. instead, consider having first of choices c("none selected" = ""). hope helps.

javascript - angularjs custom directive value to pass other page -

<!doctype html> <html lang="en"> <head> <title>angularjs routing example</title> <link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet"> <style> body { padding-top: 10px; background-color: #f5f5f5; } </style> <!-- html5 shim , respond.js ie8 support of html5 elements , media queries --> <!--[if lt ie 9]> <script src="../../assets/js/html5shiv.js"></script> <script src="../../assets/js/respond.min.js"></script> <![endif]--> </head> <body ng-app="sampleapp"> <div class="container"> <div class="row"> <div class="col-md-3"> <ul class="nav"> <li><a href="#addneworder"...

html - Override css over materializecss -

Image
since have installed materialize css. having trouble button uses custom class. need set border 0. button before : button after: i have tried : [type="checkbox"][_ngcontent-eog-31] + label[_ngcontent-eog-31]:before, [type="checkbox"][_ngcontent-eog-31]:not(.filled-in) + label[_ngcontent-eog-31]:after { border: 0px, none!important; } , checkbox{ border 0px, none!important; } border: 0px, none !important; invalid property value, remove ( , ) in between 0px , none try give following code, border: none !important; or border: 0px !important; or border: 0px none !important;

asp.net - Rewrite root url call to subfolder -

i have single page app index.html located in sub folder. people see when acess root url. what's missing in rewrite rule? <rewrite> <rules> <rule name="spa rewrite"> <match url="http://app.local" /> <action type="rewrite" url="http://app.local/spa/dist" /> </rule> </rules> </rewrite> your rule should this: <rule name="spa rewrite" stopprocessing="true"> <match url=".*" /> <conditions logicalgrouping="matchall"> <add input="{http_host}" pattern="app.local" /> <add input="{request_filename}" matchtype="isfile" negate="true" /> <add input="{request_filename}" matchtype="isdirectory" negate="true" /> </conditions> <action type="rewrite" url="/spa/dist" ...

html - javascript - Add a query string to url -

i'm having trouble redirecting user after submitting form. form serves allow user filter out doctors based on location, rating, , specialty. here code form , javascript function: <form onsubmit="getdoctors()" id="searchform"> <div> <div class="col-sm-3"> <div class="form-group"> <label for="specialty">specialty:</label> <select class="form-control" id="specialty"> <option value="">select</option> <% specialtylist.foreach(function(specialtyvalue){%> <option value="<%= specialtyvalue %>"><%= specialtyvalue %></option> <% }); %> </select> </div> </div> <div class="col-sm-3"> <div class="form-group"> <label for="rating"...

javascript - Invalid regular expression flags error Partial View -

i have div in view upload partialview. here code <div id="right2" style=" border-style: solid; border-color: #1d69b4; border-radius: 10px;"> @html.partial("calendardefault") </div> and button need change 1 partialview another here button code <button class="filled-button" onclick="myfunction()" style="background: #72c367">new appointment</button> and js code load <script> function myfunction() { $("#right2").load(@url.action("shedulenewappointment","calendar")); } </script> but have below errors myfunction not defined @ htmlbuttonelement.onclick (index:125) uncaught syntaxerror: invalid regular expression flags how can fix it? this example work me: here code have created in cshtml file: <script> $('#getdetails') .click(function() { $('#detailspl...