① 怎样让照相机照得照片自动储存到指定文件夹啊
也不知你说的是相机还是手机,相机是改变不了的,手机可以设置储存到指定卡或文件夹里。
② 怎才能将手机拍的照片放至手机相机内指定的相册!!
把一个相册中的照片移动到另一个相册里的一般操作方法:
1.打开手机相册-点开某一相册目录-菜单键-选择项目-勾选-菜单键-移动即可。
2.部分型号不支持在相册中直接移动,您可以打开我的文件,找到存储照片的文件夹,长按某一张图片,然后选择移动至另一相册文件夹即可。
③ 用系统自带的相机拍摄的视频放在那个文件夹里
打开手机自带的存储盘(容量小的那个)。
打开文件夹dcim(大写)。
文件名为camera的文件就是放照片的,如果你还用手机拍摄了视频,那么文件名为video的文件夹里就是视频。
如果你在手机设置里面把存储位置调整到了sd卡里面,那么就打开sd卡对应的盘。
同样是在dcim文件夹里面,包括camera(照片)和video(视频)。
如果你用的不是手机自带摄像软件而是自己下载的软件,那么照片会保存在该软件设定的文件夹里,在软件设置里可以找到。
④ 手机照相了相片在手机上的哪个文件夹里。
以OPPO R9S手机为例,照片在手机文件管理内的DCIM文件夹内,具体查看方法如下:
一、打开手机,在手机的桌面上找到“文件管理”一项的图标,然后点击进入。
⑤ 安卓手机相机拍下的相片在SD卡的那个文件夹里
根据手机的不同存储位置也有所不同,但是安卓手机拍照应该存在以下两个位置:
1、SD卡根目录下DCIM文件夹下;
2、SD卡根目录下picture文件夹下;
⑥ 安卓系统,手机拍完的视频存在哪个文件夹里
如果是手机自带相机拍摄的视频,则位于手机根目录内存下的DCIM文件夹下的video文件夹内(sdcard0/DCIM/video)。如果不是自带手机相机软件拍摄的,则位于第三方拍摄软件的相应目录里面。
(6)软件相机拍到指定文件夹扩展阅读:
安卓系统的手机只要是用自带的手机相机软件拍摄的文件,不管是拍摄的视频、还是照片(包括自拍)都在手机内存根目录的DCIM(sdcard0/DCIM)文件夹下。根目录就是你打开手机存储盘后,里面的第一级目录就是根目录。就是说打开内存卡的第一级目录。
⑦ 手机相机拍的照片在哪个文件夹里
手机拍摄的一般是在“DCIM”的文件夹下,里面还有一层文件夹,不同的相机名称不一,里面就是照片了
复制到手机的,保存到你的文档,图片文件夹,或者自行建立个新文件夹就可以
⑧ 如何自动下载相机中的照片到电脑中指定文件夹
ACD See可以,而且对于整理图片预览之类很强悍,我一直都用这,我用的是版本12.0的,功能很没话说,稍微熟悉下就会发现真的超好用,强烈建议
⑨ android相机拍照后上传到指定文件夹,opencv是通过调用文件夹里图片进行处理的吗求大神指教
整个项目的结构图:
编写DetectFaceDemo.java,代码如下:
[java] view
plainprint?
package com.njupt.zhb.test;
import org.opencv.core.Core;
import org.opencv.core.Mat;
import org.opencv.core.MatOfRect;
import org.opencv.core.Point;
import org.opencv.core.Rect;
import org.opencv.core.Scalar;
import org.opencv.highgui.Highgui;
import org.opencv.objdetect.CascadeClassifier;
//
// Detects faces in an image, draws boxes around them, and writes the results
// to "faceDetection.png".
//
public class DetectFaceDemo {
public void run() {
System.out.println("\nRunning DetectFaceDemo");
System.out.println(getClass().getResource("lbpcascade_frontalface.xml").getPath());
// Create a face detector from the cascade file in the resources
// directory.
//CascadeClassifier faceDetector = new CascadeClassifier(getClass().getResource("lbpcascade_frontalface.xml").getPath());
//Mat image = Highgui.imread(getClass().getResource("lena.png").getPath());
//注意:源程序的路径会多打印一个‘/’,因此总是出现如下错误
/*
* Detected 0 faces Writing faceDetection.png libpng warning: Image
* width is zero in IHDR libpng warning: Image height is zero in IHDR
* libpng error: Invalid IHDR data
*/
//因此,我们将第一个字符去掉
String xmlfilePath=getClass().getResource("lbpcascade_frontalface.xml").getPath().substring(1);
CascadeClassifier faceDetector = new CascadeClassifier(xmlfilePath);
Mat image = Highgui.imread(getClass().getResource("we.jpg").getPath().substring(1));
// Detect faces in the image.
// MatOfRect is a special container class for Rect.
MatOfRect faceDetections = new MatOfRect();
faceDetector.detectMultiScale(image, faceDetections);
System.out.println(String.format("Detected %s faces", faceDetections.toArray().length));
// Draw a bounding box around each face.
for (Rect rect : faceDetections.toArray()) {
Core.rectangle(image, new Point(rect.x, rect.y), new Point(rect.x + rect.width, rect.y + rect.height), new Scalar(0, 255, 0));
}
// Save the visualized detection.
String filename = "faceDetection.png";
System.out.println(String.format("Writing %s", filename));
Highgui.imwrite(filename, image);
}
}
package com.njupt.zhb.test;
import org.opencv.core.Core;
import org.opencv.core.Mat;
import org.opencv.core.MatOfRect;
import org.opencv.core.Point;
import org.opencv.core.Rect;
import org.opencv.core.Scalar;
import org.opencv.highgui.Highgui;
import org.opencv.objdetect.CascadeClassifier;
//
// Detects faces in an image, draws boxes around them, and writes the results
// to "faceDetection.png".
//
public class DetectFaceDemo {
public void run() {
System.out.println("\nRunning DetectFaceDemo");
System.out.println(getClass().getResource("lbpcascade_frontalface.xml").getPath());
// Create a face detector from the cascade file in the resources
// directory.
//CascadeClassifier faceDetector = new CascadeClassifier(getClass().getResource("lbpcascade_frontalface.xml").getPath());
//Mat image = Highgui.imread(getClass().getResource("lena.png").getPath());
//注意:源程序的路径会多打印一个‘/’,因此总是出现如下错误
/*
* Detected 0 faces Writing faceDetection.png libpng warning: Image
* width is zero in IHDR libpng warning: Image height is zero in IHDR
* libpng error: Invalid IHDR data
*/
//因此,我们将第一个字符去掉
String xmlfilePath=getClass().getResource("lbpcascade_frontalface.xml").getPath().substring(1);
CascadeClassifier faceDetector = new CascadeClassifier(xmlfilePath);
Mat image = Highgui.imread(getClass().getResource("we.jpg").getPath().substring(1));
// Detect faces in the image.
// MatOfRect is a special container class for Rect.
MatOfRect faceDetections = new MatOfRect();
faceDetector.detectMultiScale(image, faceDetections);
System.out.println(String.format("Detected %s faces", faceDetections.toArray().length));
// Draw a bounding box around each face.
for (Rect rect : faceDetections.toArray()) {
Core.rectangle(image, new Point(rect.x, rect.y), new Point(rect.x + rect.width, rect.y + rect.height), new Scalar(0, 255, 0));
}
// Save the visualized detection.
String filename = "faceDetection.png";
System.out.println(String.format("Writing %s", filename));
Highgui.imwrite(filename, image);
}
}
3.编写测试类:
[java] view
plainprint?
package com.njupt.zhb.test;
public class TestMain {
public static void main(String[] args) {
System.out.println("Hello, OpenCV");
// Load the native library.
System.loadLibrary("opencv_java246");
new DetectFaceDemo().run();
}
}
//运行结果:
//Hello, OpenCV
//
//Running DetectFaceDemo
///E:/eclipse_Jee/workspace/JavaOpenCV246/bin/com/njupt/zhb/test/lbpcascade_frontalface.xml
//Detected 8 faces
//Writing faceDetection.png
package com.njupt.zhb.test;
public class TestMain {
public static void main(String[] args) {
System.out.println("Hello, OpenCV");
// Load the native library.
System.loadLibrary("opencv_java246");
new DetectFaceDemo().run();
}
}
//运行结果:
//Hello, OpenCV
//
//Running DetectFaceDemo
///E:/eclipse_Jee/workspace/JavaOpenCV246/bin/com/njupt/zhb/test/lbpcascade_frontalface.xml
//Detected 8 faces
//Writing faceDetection.png